1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-25 11:37:56 +00:00
freebsd/sys/contrib
Robert Watson fdd9b0723e Teach pf and ipfw to use read locks in inpcbs write than write locks
when reading credential data from sockets.

Teach pf to unlock the pcbinfo more quickly once it has acquired an
inpcb lock, as the inpcb lock is sufficient to protect the reference.

Assert locks, rather than read locks or write locks, on inpcbs in
subroutines--this is necessary as the inpcb may be passed down with a
write lock from the protocol, or may be passed down with a read lock
from the firewall lookup routine, and either is sufficient.

MFC after:	3 months
2008-04-20 00:21:54 +00:00
..
altq/altq Fix a bug where the callout might not be initialized before being used. 2007-07-12 17:00:51 +00:00
dev This commit was generated by cvs2svn to compensate for changes in r175256, 2008-01-12 22:13:12 +00:00
ia64/libuwx Apply local modifications to make Unwind Express BETA 10 buildable and 2006-07-07 23:56:34 +00:00
ipfilter/netinet Fix 3 issues relating to the use of "auth" rules in IPFilter, from sourceforge: 2007-11-26 08:18:19 +00:00
ngatm This commit was generated by cvs2svn to compensate for changes in r171364, 2007-07-11 14:41:54 +00:00
pf Teach pf and ipfw to use read locks in inpcbs write than write locks 2008-04-20 00:21:54 +00:00