Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144609434
D29554.1775736505.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
496 B
Referenced Files
None
Subscribers
None
D29554.1775736505.diff
View Options
diff --git a/sys/netpfil/pf/pf.c b/sys/netpfil/pf/pf.c
--- a/sys/netpfil/pf/pf.c
+++ b/sys/netpfil/pf/pf.c
@@ -5549,7 +5549,7 @@
if (ifp == NULL)
goto bad;
- if (oifp != ifp) {
+ if (dir == PF_IN) {
if (pf_test(PF_OUT, 0, ifp, &m0, inp) != PF_PASS)
goto bad;
else if (m0 == NULL)
@@ -5738,7 +5738,7 @@
if (ifp == NULL)
goto bad;
- if (oifp != ifp) {
+ if (dir == PF_IN) {
if (pf_test6(PF_OUT, PFIL_FWD, ifp, &m0, inp) != PF_PASS)
goto bad;
else if (m0 == NULL)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Apr 9, 12:08 PM (15 h, 16 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28308973
Default Alt Text
D29554.1775736505.diff (496 B)
Attached To
Mode
D29554: pf: change pf_route so pf only runs when packets enter and leave the stack.
Attached
Detach File
Event Timeline
Log In to Comment