[NETFILTER]: Drop conntrack reference in ip_dev_loopback_xmit()
authorPatrick McHardy <kaber@trash.net>
Tue, 3 May 2005 23:21:37 +0000 (16:21 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 May 2005 23:21:37 +0000 (16:21 -0700)
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/netfilter.c
net/ipv4/ip_output.c

index 92c51824797dd15018e579eb5753cc372e04fd3d..22a8f127c4aad9821e5f3294aa518807165ee8b7 100644 (file)
@@ -236,8 +236,6 @@ void nf_debug_ip_loopback_xmit(struct sk_buff *newskb)
                debug_print_hooks_ip(newskb->nf_debug);
                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)
index 38f69532a029e5ff1ddbdbd665afcff46e94abb5..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;
 }