Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F159152546
D42142.id128475.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
513 B
Referenced Files
None
Subscribers
None
D42142.id128475.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
@@ -7709,7 +7709,7 @@
if (__predict_false(ip_divert_ptr != NULL) &&
((ipfwtag = m_tag_locate(m, MTAG_IPFW_RULE, 0, NULL)) != NULL)) {
struct ipfw_rule_ref *rr = (struct ipfw_rule_ref *)(ipfwtag+1);
- if (rr->info & IPFW_IS_DIVERT && rr->rulenum == 0) {
+ if (rr->info & IPFW_IS_DIVERT) {
if (pd.pf_mtag == NULL &&
((pd.pf_mtag = pf_get_mtag(m)) == NULL)) {
action = PF_DROP;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jun 11, 4:56 PM (12 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33885060
Default Alt Text
D42142.id128475.diff (513 B)
Attached To
Mode
D42142: Fix pf divert-to loop
Attached
Detach File
Event Timeline
Log In to Comment