Date: Thu, 24 Jun 2004 02:01:49 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netinet in_pcb.h ip_dummynet.c ip_fw2.c ip_mroute.c Message-ID: <200406240201.i5O21nkR017053@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2004-06-24 02:01:49 UTC
FreeBSD src repository
Modified files:
sys/netinet in_pcb.h ip_dummynet.c ip_fw2.c
ip_mroute.c
Log:
When asserting non-Giant locks in the network stack, also assert
Giant if debug.mpsafenet=0, as any points that require synchronization
in the SMPng world also required it in the Giant-world:
- inpcb locks (including IPv6)
- inpcbinfo locks (including IPv6)
- dummynet subsystem lock
- ipfw2 subsystem lock
Revision Changes Path
1.73 +21 -6 src/sys/netinet/in_pcb.h
1.81 +4 -1 src/sys/netinet/ip_dummynet.c
1.63 +4 -1 src/sys/netinet/ip_fw2.c
1.101 +4 -1 src/sys/netinet/ip_mroute.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406240201.i5O21nkR017053>
