]> Pileus Git - ~andy/linux/blobdiff - net/ipv6/netfilter/nf_conntrack_l3proto_ipv6.c
Merge branch 'for-linus' of gregkh@master.kernel.org:/pub/scm/linux/kernel/git/dtor...
[~andy/linux] / net / ipv6 / netfilter / nf_conntrack_l3proto_ipv6.c
index 93bae36f2663e03370e8016da83ae4a43843e6ad..c2ab38ff46af523159e7b1e090fdc008fc16f87d 100644 (file)
@@ -20,7 +20,6 @@
  *       structures.
  */
 
-#include <linux/config.h>
 #include <linux/types.h>
 #include <linux/ipv6.h>
 #include <linux/in6.h>
@@ -189,7 +188,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);