OpenBSD cvs log

created 2022-08-20T12:21:55Z
begin 2022-08-13T00:00:00Z
end 2022-08-14T00:00:00Z
path src/sys
commits 5

date 2022-08-13T06:44:48Z
author jsg
files src/sys/arch/luna88k/luna88k/autoconf.c log diff annotate
message avoid uninitialised var when boot_unit has an unexpected value
tested by and ok aoyama@

date 2022-08-13T14:16:59Z
author kevlo
files src/sys/dev/ic/r92creg.h log diff annotate
src/sys/dev/usb/if_urtwn.c log diff annotate
message Correct rx data rate for rtl8192eu

ok stsp@, jmatthew@

date 2022-08-13T16:02:15Z
author semarie
files src/sys/kern/subr_blist.c log diff annotate
message blist: fix a possible blist corruption with blist_alloc() due to unsigned
swblk_t on OpenBSD.

reorder if condition in blst_meta_alloc(), in order to check if the node is
'Terminator' node first (and leave the loop).

DragonFlyBSD is unaffected by it as swblk_t is signed (and the first condition
isn't taken).

add a regress test for it.

while here, more the KASSERT() to KDASSERT(). it is useful but only with DEBUG.

ok miod@ todd@

date 2022-08-13T19:13:45Z
author bluhm
files src/sys/netinet/tcp_usrreq.c log diff annotate
message Remove needless include pledge.h accidently added in previous commit.
OK claudio@

date 2022-08-13T21:01:46Z
author mvs
files src/sys/kern/sys_socket.c log diff annotate
src/sys/kern/uipc_socket.c log diff annotate
src/sys/kern/uipc_socket2.c log diff annotate
src/sys/kern/uipc_syscalls.c log diff annotate
src/sys/net/if.c log diff annotate
src/sys/nfs/nfs_socket.c log diff annotate
src/sys/sys/protosw.h log diff annotate
src/sys/sys/socketvar.h log diff annotate
message Introduce the pru_*() wrappers for corresponding (*pr_usrreq)() calls.

This is helpful for the following (*pr_usrreq)() split to multiple
handlers. But right now this makes code more readable.

Also add '#ifndef _SYS_SOCKETVAR_H_' to sys/socketvar.h. This prevents the
collisions when both sys/protosw.h and sys/socketvar.h are included
together. Both 'socket' and 'protosw' structures are required to be
defined before pru_*() wrappers, so we need to include sys/socketvar.h to
sys/protosw.h.

ok bluhm@