Page MenuHomeFreeBSD

D42142.id128475.diff
No OneTemporary

D42142.id128475.diff

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

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)

Event Timeline