cvs commit: src UPDATING src/share/man/man9 pfil.9
src/sys/contrib/ipfilter/netinet ip_fil.c src/sys/contrib/pf/net
pf.c pf_ioctl.c pfvar.h src/sys/net bridge.c pfil.c pfil.h
src/sys/netinet ip_fastfwd.c ip_fw.h ip_fw2.c ip_fw_pfil.c ...
Max Laier
mlaier at FreeBSD.org
Tue Sep 28 21:54:34 PDT 2004
mlaier 2004-09-29 04:54:33 UTC
FreeBSD src repository
Modified files:
. UPDATING
share/man/man9 pfil.9
sys/contrib/ipfilter/netinet ip_fil.c
sys/contrib/pf/net pf.c pf_ioctl.c pfvar.h
sys/net bridge.c pfil.c pfil.h
sys/netinet ip_fastfwd.c ip_fw.h ip_fw2.c
ip_fw_pfil.c ip_input.c ip_output.c
sys/netinet6 ip6_forward.c ip6_input.c ip6_output.c
sys/sys param.h
Log:
Add an additional struct inpcb * argument to pfil(9) in order to enable
passing along socket information. This is required to work around a LOR with
the socket code which results in an easy reproducible hard lockup with
debug.mpsafenet=1. This commit does *not* fix the LOR, but enables us to do
so later. The missing piece is to turn the filter locking into a leaf lock
and will follow in a seperate (later) commit.
This will hopefully be MT5'ed in order to fix the problem for RELENG_5 in
forseeable future.
Suggested by: rwatson
A lot of work by: csjp (he'd be even more helpful w/o mentor-reviews ;)
Reviewed by: rwatson, csjp
Tested by: -pf, -ipfw, LINT, csjp and myself
MFC after: 3 days
LOR IDs: 14 - 17 (not fixed yet)
Revision Changes Path
1.366 +5 -0 src/UPDATING
1.16 +3 -3 src/share/man/man9/pfil.9
1.49 +25 -2 src/sys/contrib/ipfilter/netinet/ip_fil.c
1.20 +85 -2 src/sys/contrib/pf/net/pf.c
1.16 +16 -12 src/sys/contrib/pf/net/pf_ioctl.c
1.10 +11 -0 src/sys/contrib/pf/net/pfvar.h
1.84 +1 -1 src/sys/net/bridge.c
1.10 +6 -6 src/sys/net/pfil.c
1.12 +5 -4 src/sys/net/pfil.h
1.21 +2 -2 src/sys/netinet/ip_fastfwd.c
1.91 +3 -2 src/sys/netinet/ip_fw.h
1.77 +32 -11 src/sys/netinet/ip_fw2.c
1.10 +6 -2 src/sys/netinet/ip_fw_pfil.c
1.291 +1 -1 src/sys/netinet/ip_input.c
1.232 +1 -1 src/sys/netinet/ip_output.c
1.27 +1 -1 src/sys/netinet6/ip6_forward.c
1.78 +1 -1 src/sys/netinet6/ip6_input.c
1.84 +1 -1 src/sys/netinet6/ip6_output.c
1.216 +1 -1 src/sys/sys/param.h
More information about the cvs-all
mailing list