Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144098061
D12779.id34343.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1009 B
Referenced Files
None
Subscribers
None
D12779.id34343.diff
View Options
Index: head/sys/netinet6/ip6_fastfwd.c
===================================================================
--- head/sys/netinet6/ip6_fastfwd.c
+++ head/sys/netinet6/ip6_fastfwd.c
@@ -194,7 +194,17 @@
in6_ifstat_inc(rcvif, ifs6_in_noroute);
goto dropin;
}
+
/*
+ * Outgoing packet firewall processing.
+ */
+ if (!PFIL_HOOKED(&V_inet6_pfil_hook))
+ goto passout;
+ if (pfil_run_hooks(&V_inet6_pfil_hook, &m, nh.nh_ifp, PFIL_OUT,
+ NULL) != 0 || m == NULL)
+ goto dropout;
+
+ /*
* We used slow path processing for packets with scoped addresses.
* So, scope checks aren't needed here.
*/
@@ -205,14 +215,6 @@
goto dropout;
}
- /*
- * Outgoing packet firewall processing.
- */
- if (!PFIL_HOOKED(&V_inet6_pfil_hook))
- goto passout;
- if (pfil_run_hooks(&V_inet6_pfil_hook, &m, nh.nh_ifp, PFIL_OUT,
- NULL) != 0 || m == NULL)
- goto dropout;
/*
* If packet filter sets the M_FASTFWD_OURS flag, this means
* that new destination or next hop is our local address.
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Feb 5, 5:26 PM (3 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28443288
Default Alt Text
D12779.id34343.diff (1009 B)
Attached To
Mode
D12779: Evaluate packet size after the firewall had its chance in the ip6 fast path
Attached
Detach File
Event Timeline
Log In to Comment