freebsd-dev/sys/contrib/pf/net
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
..
if_pflog.c
if_pflog.h
if_pfsync.c
if_pfsync.h
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
pf_norm.c
pf_osfp.c
pf_ruleset.c
pf_subr.c
pf_table.c
pf.c Teach pf and ipfw to use read locks in inpcbs write than write locks 2008-04-20 00:21:54 +00:00
pfvar.h Make ALTQ cope with disappearing interfaces (particularly common with mpd 2008-03-29 00:24:36 +00:00