CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2021/04/24 18:00:35
Modified files:
sys/kern : uipc_socket.c uipc_socket2.c
sys/net : rtsock.c
sys/sys : socketvar.h
Log message:
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.
Also this time `so_lock 'used for routing sockets only but in the future
it will be used to other socket types too.
ok bluhm@