OpenBSD cvs log

created 2024-05-02T19:15:32Z
begin 2024-04-12T00:00:00Z
end 2024-04-13T00:00:00Z
path src/sys
commits 7

date 2024-04-12T00:43:32Z
author kevlo
files src/sys/dev/usb/uchcom.c log diff annotate
src/sys/dev/usb/usbdevs log diff annotate
message Add support for CH343 uart.
The CH343 devices support any baud rate up to 6 Mbps.

ok miod@

date 2024-04-12T00:44:07Z
author kevlo
files src/sys/dev/usb/usbdevs.h log diff annotate
src/sys/dev/usb/usbdevs_data.h log diff annotate
message Regen

date 2024-04-12T01:54:21Z
author jsg
files src/sys/dev/pci/if_mcx.c log diff annotate
message fix non-auto setting of extended media type bits
found by smatch warning about uninitialised var use
ok jmatthew@

date 2024-04-12T09:56:39Z
author jsg
files src/sys/dev/usb/if_mtw.c log diff annotate
message correct loop in channel set function
found by smatch indent warning
ok kevlo@ stsp@

date 2024-04-12T12:25:58Z
author bluhm
files src/sys/netinet/raw_ip.c log diff annotate
message Fix race between rip_input() and soisdisconnected().

Setting SS_CANTRCVMORE is protected by mutex of receive socket
buffer. The raw inpcb loop in rip_input() does a lockless access.
Protect it with READ_ONCE(), although it is not perfect. Check the
socket buffer state again when the mutex is held. Drop and count
the packet that is processed between the checks.

Currently soisdisconnected() is called with exclusive net lock.
The new code also works without net lock.

OK mvs@

date 2024-04-12T16:07:09Z
author bluhm
files src/sys/kern/kern_sysctl.c log diff annotate
src/sys/net/pf.c log diff annotate
src/sys/netinet/in_pcb.c log diff annotate
src/sys/netinet/tcp_input.c log diff annotate
src/sys/netinet/tcp_subr.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/in6_pcb.c log diff annotate
message Split single TCP inpcb table into IPv4 and IPv6 parts.

With two separate TCP hash tables, each one becomes smaller. When
we remove the exclusive net lock from TCP, contention on internet
PCB table mutex will be reduced. UDP has been split earlier into
IPv4 and IPv6. Replace branch conditions based on INP_IPV6 with
assertions.

OK mvs@

date 2024-04-12T19:27:43Z
author jan
files src/sys/dev/pci/if_bnxt.c log diff annotate
src/sys/dev/pci/if_igc.c log diff annotate
src/sys/dev/pci/if_ixl.c log diff annotate
src/sys/dev/pci/if_ngbe.c log diff annotate
src/sys/dev/pci/ixgbe.h log diff annotate
message remove useless includes of ip.h and ip6.h

ok bluhm