Commit bd96535b authored by Patrick McHardy's avatar Patrick McHardy Committed by David S. Miller

[NETFILTER]: Drop conntrack reference in ip_dev_loopback_xmit()

Signed-off-by: default avatarPatrick McHardy <kaber@trash.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e4f8ab00
...@@ -236,8 +236,6 @@ void nf_debug_ip_loopback_xmit(struct sk_buff *newskb) ...@@ -236,8 +236,6 @@ void nf_debug_ip_loopback_xmit(struct sk_buff *newskb)
debug_print_hooks_ip(newskb->nf_debug); debug_print_hooks_ip(newskb->nf_debug);
nf_dump_skb(PF_INET, newskb); nf_dump_skb(PF_INET, newskb);
} }
/* Clear to avoid confusing input check */
newskb->nf_debug = 0;
} }
void nf_debug_ip_finish_output2(struct sk_buff *skb) void nf_debug_ip_finish_output2(struct sk_buff *skb)
......
...@@ -111,6 +111,7 @@ static int ip_dev_loopback_xmit(struct sk_buff *newskb) ...@@ -111,6 +111,7 @@ static int ip_dev_loopback_xmit(struct sk_buff *newskb)
#ifdef CONFIG_NETFILTER_DEBUG #ifdef CONFIG_NETFILTER_DEBUG
nf_debug_ip_loopback_xmit(newskb); nf_debug_ip_loopback_xmit(newskb);
#endif #endif
nf_reset(newskb);
netif_rx(newskb); netif_rx(newskb);
return 0; return 0;
} }
......
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