[NETFILTER]: Drop conntrack reference in ip_dev_loopback_xmit()
Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
e4f8ab00cf
commit
bd96535b81
@ -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)
|
|||||||
#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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user