OpenBSD cvs log

created 2022-08-27T19:16:51Z
begin 2022-08-21T00:00:00Z
end 2022-08-22T00:00:00Z
path src/sys
commits 12

date 2022-08-21T04:03:47Z
author daniel
files src/sys/dev/pci/pcidevs log diff annotate
message improve some Transmeta pci device names

Mem1 -> SDRAM
Mem2 -> BIOS

These show up in pcidump as "Class: 05 Memory, Subclass: 00 RAM" which is
probably the reason for the Mem1/Mem2 names.

From NetBSD with tweaks from jsg@; also confirmed in the Transmeta BIOS
Programmer's Guide.

ok jsg@

date 2022-08-21T04:04:53Z
author daniel
files src/sys/dev/pci/pcidevs.h log diff annotate
src/sys/dev/pci/pcidevs_data.h log diff annotate
message regen

date 2022-08-21T07:56:31Z
author kevlo
files src/sys/dev/ic/r92creg.h log diff annotate
src/sys/dev/ic/rtwn.c log diff annotate
src/sys/dev/usb/if_urtwn.c log diff annotate
message A couple of minor changes for rtl8192eu:

- enable Tx/Rx aggregations of individual 802.11 frames on the USB bus
- in urtwn_fw_loadpage(), the maximum block size is 254 bytes rather than
196 bytes
- clear the interrupt status register
- no need to disable BAR for USB devices and set NAV limit

ok stsp@, jmatthew@

date 2022-08-21T11:44:53Z
author bluhm
files src/sys/netinet/in_pcb.c log diff annotate
src/sys/netinet/in_pcb.h log diff annotate
message Introduce a mutex per inpcb to serialize access to socket receive
buffer. Later it may be used to protect more of the PCB or socket.
In divert input replace the kernel lock with this mutex.
OK mvs@

date 2022-08-21T11:44:54Z
author bluhm
files src/sys/netinet/ip_divert.c log diff annotate
src/sys/netinet6/ip6_divert.c log diff annotate
message Introduce a mutex per inpcb to serialize access to socket receive
buffer. Later it may be used to protect more of the PCB or socket.
In divert input replace the kernel lock with this mutex.
OK mvs@

date 2022-08-21T12:52:10Z
author jasper
files src/sys/dev/ofw/fdt.c log diff annotate
message prevent buffer overflow in OF_getpropint64array()
just like -r1.28 did for OF_getpropintarray()

ok kettenis@

date 2022-08-21T14:15:55Z
author bluhm
files src/sys/netinet/ip_input.c log diff annotate
src/sys/netinet6/ip6_input.c log diff annotate
message Remove ip_local() and ip6_local(). After moving the IPv4 fragment
reassembly and IPv6 hob-by-hob header chain processing out of
ip_local() and ip6_local(), they are almost empty stubs. The check
for local deliver loop in ip_ours() and ip6_ours() is sufficient.
Recover mbuf offset and next protocol directly in ipintr() and
ip6intr().
OK mvs@

date 2022-08-21T16:22:17Z
author mvs
files src/sys/kern/uipc_socket.c log diff annotate
src/sys/netinet/tcp_input.c log diff annotate
message Change soabort() return value to void. We never interesting on it.

ok bluhm@

date 2022-08-21T16:22:18Z
author mvs
files src/sys/sys/socketvar.h log diff annotate
message Change soabort() return value to void. We never interesting on it.

ok bluhm@

date 2022-08-21T17:30:21Z
author mvs
files src/sys/kern/uipc_usrreq.c log diff annotate
src/sys/net/pfkeyv2.c log diff annotate
src/sys/net/rtsock.c log diff annotate
src/sys/netinet/ip_divert.c log diff annotate
src/sys/netinet/raw_ip.c log diff annotate
src/sys/netinet/tcp_usrreq.c log diff annotate
src/sys/netinet/tcp_var.h log diff annotate
src/sys/netinet/udp_usrreq.c log diff annotate
src/sys/netinet6/ip6_divert.c log diff annotate
src/sys/netinet6/raw_ip6.c log diff annotate
src/sys/sys/protosw.h log diff annotate
src/sys/sys/unpcb.h log diff annotate
message Move PRU_LISTEN request to (*pru_listen)() handler.

ok bluhm@

date 2022-08-21T22:45:55Z
author mvs
files src/sys/kern/uipc_usrreq.c log diff annotate
src/sys/net/pfkeyv2.c log diff annotate
src/sys/net/rtsock.c log diff annotate
src/sys/netinet/ip_divert.c log diff annotate
src/sys/netinet/ip_gre.c log diff annotate
src/sys/netinet/ip_var.h log diff annotate
src/sys/netinet/raw_ip.c log diff annotate
src/sys/netinet/tcp_usrreq.c log diff annotate
src/sys/netinet/tcp_var.h log diff annotate
src/sys/netinet/udp_usrreq.c log diff annotate
src/sys/netinet/udp_var.h log diff annotate
src/sys/netinet6/ip6_divert.c log diff annotate
src/sys/netinet6/ip6_var.h log diff annotate
src/sys/netinet6/raw_ip6.c log diff annotate
src/sys/sys/protosw.h log diff annotate
src/sys/sys/unpcb.h log diff annotate
message Move PRU_CONNECT request to (*pru_connect)() handler.

ok bluhm@

date 2022-08-21T23:04:45Z
author bluhm
files src/sys/netinet/igmp.c log diff annotate
src/sys/netinet6/mld6.c log diff annotate
message Only grab netlock in igmp and mdl6 fast timer when necessary. There
are status variables that can be used to avoid locking if timers
are not running. This should reduce contention on exclusive netlock.
OK kn@ mvs@