summaryrefslogtreecommitdiff
path: root/sys/ufs
diff options
context:
space:
mode:
authormvs <mvs@cvs.openbsd.org>2021-05-01 16:13:14 +0000
committermvs <mvs@cvs.openbsd.org>2021-05-01 16:13:14 +0000
commit93bb6fd7698cf751377d0213f6abf5cef1277386 (patch)
treeefc9f1a02d3a275e5c204b6f83f978cfb9e9ae66 /sys/ufs
parent58b3d2ba77817cf3ac54cf921bf87b95844589c4 (diff)
Implement per-socket `so_lock' rwlock(9) and use it to protect routing
(PF_ROUTE) sockets. This can be done because we have no cases where one thread should lock two sockets simultaneously. Against the previous version rtm_senddesync_timer() execution was moved to process context. Also this time `so_lock' used for routing sockets only but in the future it will be used to other socket types too. tested by claudio@ ok claudio@ bluhm@
Diffstat (limited to 'sys/ufs')
0 files changed, 0 insertions, 0 deletions