[NETFILTER]: conntrack: don't call helpers for related ICMP messages
[linux-2.6-microblaze.git] / net / ipv6 / netfilter / nf_conntrack_l3proto_ipv6.c
index 93bae36..2a71c3b 100644 (file)
@@ -189,7 +189,7 @@ static unsigned int ipv6_confirm(unsigned int hooknum,
 
        /* This is where we call the helper: as the packet goes out. */
        ct = nf_ct_get(*pskb, &ctinfo);
-       if (!ct)
+       if (!ct || ctinfo == IP_CT_RELATED + IP_CT_IS_REPLY)
                goto out;
 
        help = nfct_help(ct);