Revert per-socket `so_lock' rwlock(9) and use it to protect routing
authorclaudio <claudio@openbsd.org>
Mon, 26 Apr 2021 08:21:35 +0000 (08:21 +0000)
committerclaudio <claudio@openbsd.org>
Mon, 26 Apr 2021 08:21:35 +0000 (08:21 +0000)
commit158ae97bf6f3c6848e7347b79ca3f7d3d19902a4
tree0f92e72c076cdc2ed7970825843f2bed3d89acff
parent4e5507512067ff31d4f2118a4202dec750bff383
Revert per-socket `so_lock' rwlock(9) and use it to protect routing
(PF_ROUTE) sockets. There is a locking issue with timeouts that needs
to be fixed.
Requested by deraadt@
sys/kern/uipc_socket.c
sys/kern/uipc_socket2.c
sys/net/rtsock.c
sys/sys/socketvar.h