Commit 0bee1f33 authored by Harald Welte's avatar Harald Welte Committed by Stephen Hemminger

[NETFILTER]: Fix ipt_REJECT if used on bridge.

parent d3d98e80
...@@ -137,6 +137,10 @@ static void send_reset(struct sk_buff *oldskb, int local) ...@@ -137,6 +137,10 @@ static void send_reset(struct sk_buff *oldskb, int local)
nskb->nf_debug = 0; nskb->nf_debug = 0;
#endif #endif
nskb->nfmark = 0; nskb->nfmark = 0;
#if defined(CONFIG_BRIDGE) || defined(CONFIG_BRIDGE_MODULE)
nf_bridge_put(nskb->nf_bridge);
nskb->nf_bridge = NULL;
#endif
tcph = (struct tcphdr *)((u_int32_t*)nskb->nh.iph + nskb->nh.iph->ihl); tcph = (struct tcphdr *)((u_int32_t*)nskb->nh.iph + nskb->nh.iph->ihl);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment