freebsd-dev/sys/contrib/pf/net
Robert Watson 8501a69cc9 Convert pcbinfo and inpcb mutexes to rwlocks, and modify macros to
explicitly select write locking for all use of the inpcb mutex.
Update some pcbinfo lock assertions to assert locked rather than
write-locked, although in practice almost all uses of the pcbinfo
rwlock main exclusive, and all instances of inpcb lock acquisition
are exclusive.

This change should introduce (ideally) little functional change.
However, it lays the groundwork for significantly increased
parallelism in the TCP/IP code.

MFC after:	3 months
Tested by:	kris (superset of committered patch)
2008-04-17 21:38:18 +00:00
..
if_pflog.c Commit resolved import of OpenBSD 4.1 pf from perforce. 2007-07-03 12:16:07 +00:00
if_pflog.h Commit resolved import of OpenBSD 4.1 pf from perforce. 2007-07-03 12:16:07 +00:00
if_pfsync.c Replace references to NET_CALLOUT_MPSAFE with CALLOUT_MPSAFE, and remove 2007-07-28 07:31:30 +00:00
if_pfsync.h Commit resolved import of OpenBSD 4.1 pf from perforce. 2007-07-03 12:16:07 +00:00
pf_if.c Make ALTQ cope with disappearing interfaces (particularly common with mpd 2008-03-29 00:24:36 +00:00
pf_ioctl.c Make ALTQ cope with disappearing interfaces (particularly common with mpd 2008-03-29 00:24:36 +00:00
pf_mtag.h Link pf 4.1 to the build: 2007-07-03 12:46:08 +00:00
pf_norm.c Commit resolved import of OpenBSD 4.1 pf from perforce. 2007-07-03 12:16:07 +00:00
pf_osfp.c Commit resolved import of OpenBSD 4.1 pf from perforce. 2007-07-03 12:16:07 +00:00
pf_ruleset.c Commit resolved import of OpenBSD 4.1 pf from perforce. 2007-07-03 12:16:07 +00:00
pf_subr.c Remove unused variable from pf_subr.c to make it -Werror buildable. 2007-07-05 15:28:59 +00:00
pf_table.c Properly drop the pf mutex around all copyout (consistency still protected 2007-10-24 20:57:17 +00:00
pf.c Convert pcbinfo and inpcb mutexes to rwlocks, and modify macros to 2008-04-17 21:38:18 +00:00
pfvar.h Make ALTQ cope with disappearing interfaces (particularly common with mpd 2008-03-29 00:24:36 +00:00