Switch AF_KEY sockets to the new locking scheme.
authormvs <mvs@openbsd.org>
Fri, 17 May 2024 19:02:04 +0000 (19:02 +0000)
committermvs <mvs@openbsd.org>
Fri, 17 May 2024 19:02:04 +0000 (19:02 +0000)
commit150eb84f66c07baaf405d8280c110fae0660af26
treeb02974b42a4144cdd3ff579b94c819249b99f87c
parent1adf4b76b7ecd1118407bf5fe11b267818eadb57
Switch AF_KEY sockets to the new locking scheme.

The simplest case. Nothing to change in sockets layer, only set
SB_MTXLOCK on socket buffers.

ok bluhm
sys/kern/uipc_socket.c
sys/net/pfkeyv2.c