]> err.no Git - linux-2.6/blobdiff - net/ipv4/ip_output.c
[NETFILTER]: Drop conntrack reference in ip_dev_loopback_xmit()
[linux-2.6] / net / ipv4 / ip_output.c
index 30ab7b6ab7618709b2f9cb39dd8a9180b29f3820..24fe3e00b42b0bb673be5a6d8ceb15defb192974 100644 (file)
@@ -111,6 +111,7 @@ static int ip_dev_loopback_xmit(struct sk_buff *newskb)
 #ifdef CONFIG_NETFILTER_DEBUG
        nf_debug_ip_loopback_xmit(newskb);
 #endif
+       nf_reset(newskb);
        netif_rx(newskb);
        return 0;
 }
@@ -195,6 +196,8 @@ static inline int ip_finish_output2(struct sk_buff *skb)
        nf_debug_ip_finish_output2(skb);
 #endif /*CONFIG_NETFILTER_DEBUG*/
 
+       nf_reset(skb);
+
        if (hh) {
                int hh_alen;