cvs commit: src/sys/net raw_cb.c raw_cb.h raw_usrreq.c
Robert Watson
rwatson at FreeBSD.org
Tue Jun 15 04:14:19 GMT 2004
rwatson 2004-06-15 04:13:59 UTC
FreeBSD src repository
Modified files:
sys/net raw_cb.c raw_cb.h raw_usrreq.c
Log:
Lock down rawcb_list, a global list of control blocks for raw sockets,
using rawcb_mtx. Hold this mutex while modifying or iterating over
the control list; this means that the mutex is held over calls into
socket delivery code, which no longer causes a lock order reversal as
the routing socket code uses a netisr to avoid recursing socket ->
routing -> socket.
Note: Locking of IPsec consumers of rawcb_list is not included in this
commit.
Revision Changes Path
1.29 +3 -0 src/sys/net/raw_cb.c
1.18 +1 -0 src/sys/net/raw_cb.h
1.34 +6 -0 src/sys/net/raw_usrreq.c
More information about the cvs-src
mailing list