OpenBSD cvs log

created 2024-02-11T02:07:43Z
begin 2024-02-05T00:00:00Z
end 2024-02-06T00:00:00Z
path src/sys
commits 9

date 2024-02-05T10:45:47Z
author kettenis
files src/sys/dev/pci/if_qwx_pci.c log diff annotate
message Add a 1ms delay before starting the MHI channels. This is a hack; we're
probably not waiting iproperly for some sort of firmware state transition.
But this gets us going on the x13s.

ok stsp@, phessler@

date 2024-02-05T12:52:11Z
author aoyama
files src/sys/net/route.h log diff annotate
src/sys/netinet/in.h log diff annotate
message Move route_cache() declaration from net/route.h to netinet/in.h.

This prevents gcc3's 'parameter has incomplete type' warning that
causes kernel build failure.

Suggested by claudio@, ok bluhm@

date 2024-02-05T18:27:47Z
author mvs
files src/sys/net/if.c log diff annotate
message Don't send route messages while rebooting after panic. Syskaller exposed
[1] that if_downall() tries to send route messages and triggers panic
again but in knote(9) layer.

1. https://syzkaller.appspot.com/bug?extid=d19060a65721eb432a72

ok bluhm

date 2024-02-05T19:07:45Z
author deraadt
files src/sys/dev/pci/pcidevs log diff annotate
message newer mfii devices; ok jmatthew

date 2024-02-05T19:08:10Z
author deraadt
files src/sys/dev/pci/pcidevs.h log diff annotate
src/sys/dev/pci/pcidevs_data.h log diff annotate
message sync

date 2024-02-05T19:08:29Z
author deraadt
files src/sys/dev/pci/mfii.c log diff annotate
message support newer mfii devices; ok jmatthew

date 2024-02-05T20:21:38Z
author mvs
files src/sys/kern/uipc_socket.c log diff annotate
src/sys/kern/uipc_socket2.c log diff annotate
message Use `sb_mtx' mutex(9) to protect `sb_timeo_nsecs'. In most places
solock() is still held because other 'sockbuf' members require it, but
in so{g,s}etopt() paths solock() is avoided.

ok bluhm

date 2024-02-05T20:21:39Z
author mvs
files src/sys/nfs/nfs_socket.c log diff annotate
src/sys/nfs/nfs_syscalls.c log diff annotate
message Use `sb_mtx' mutex(9) to protect `sb_timeo_nsecs'. In most places
solock() is still held because other 'sockbuf' members require it, but
in so{g,s}etopt() paths solock() is avoided.

ok bluhm

date 2024-02-05T23:16:39Z
author bluhm
files src/sys/net/route.c log diff annotate
src/sys/netinet/ip_var.h log diff annotate
src/sys/netinet6/ip6_var.h log diff annotate
message Add netstat counter for route cache.

To optimize route caching, count cache hits and misses. This is
shown in netstat -s for both inet and inet6. Reuse the old IPv6
forward cache counter. Sort ip6s_wrongif consistently. For now
only IPv4 cache counter has been implemented.

OK mvs@