OpenBSD cvs log

created 2025-01-12T04:05:53Z
begin 2025-01-09T00:00:00Z
end 2025-01-10T00:00:00Z
path src/sys
commits 10

date 2025-01-09T10:55:22Z
author sf
files src/sys/dev/pv/virtio.c log diff annotate
src/sys/dev/pv/virtiovar.h log diff annotate
message virtio: Support unused virtqueues

We will need this for vio(4) multiqueue, if the hypervisor offers more
packet queues than we want to use. The control queue comes after the
packet queues.

ok bluhm@

date 2025-01-09T16:47:24Z
author bluhm
files src/sys/netinet/in_pcb.c log diff annotate
src/sys/netinet/in_pcb.h log diff annotate
src/sys/netinet/tcp_input.c log diff annotate
src/sys/netinet/tcp_usrreq.c log diff annotate
message Run TCP sysctl ident and drop with shared net lock.

Convert exclusive net lock for TCPCTL_IDENT and TCPCTL_DROP to
shared net lock and push it down into tcp_ident(). Grab the socket
lock there with in_pcbsolock_ref(). Move socket release from
in_pcbsolock() to in_pcbsounlock_rele() and add _ref and _rele
suffix to the inpcb socket lock functions. They both lock and
refcount now. in_pcbsounlock_rele() ignores NULL sockets to make
the unlock path in error case simpler. Socket lock also protects
tcp_drop() and tcp_close() now, so the socket pointer from incpb
may be NULL during unlock. In tcp_ident() improve consistency check
of address family.

OK mvs@

date 2025-01-09T17:42:38Z
author mvs
files src/sys/kern/uipc_socket.c log diff annotate
message Return EPROTO error when attempting to unsplice the not spliced socket.
The EPROTO error was suggested by bluhm.

ok bluhm

date 2025-01-09T17:43:33Z
author mvs
files src/sys/dev/dt/dt_prov_static.c log diff annotate
src/sys/kern/uipc_socket.c log diff annotate
src/sys/sys/refcnt.h log diff annotate
message Add 'socket' refcnt type to dt(4).

We started to widely use reference counting for sockets.

ok bluhm

date 2025-01-09T18:20:29Z
author bluhm
files src/sys/net/rtsock.c log diff annotate
message Replace bcopy() with memcpy() in route_peeraddr().

from dhill@; OK mvs@

date 2025-01-09T19:22:39Z
author mglocker
files src/sys/kern/subr_hibernate.c log diff annotate
message If HIB_DONE fails, print a warning message to the user.

ok lucas@, krw@

date 2025-01-09T19:38:13Z
author kettenis
files src/sys/dev/ofw/ofw_gpio.c log diff annotate
src/sys/dev/ofw/ofw_gpio.h log diff annotate
message Implement support for using GPIO pins as interrupt pins.

ok kn@

date 2025-01-09T20:11:20Z
author kettenis
files src/sys/dev/fdt/gpiokeys.c log diff annotate
message Remove unused struct memeber and make some purely cosmetic changes.

date 2025-01-09T21:52:25Z
author kettenis
files src/sys/dev/fdt/qcgpio_fdt.c log diff annotate
message Implement support for using GPIO pins as interrupt pins in qcgpio(4).

ok kn@

date 2025-01-09T22:03:38Z
author kettenis
files src/sys/dev/fdt/gpiokeys.c log diff annotate
message Make gpiokeys(4) interrupt-driven if we have interrupts.

ok kn@