]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - net/netfilter/nf_synproxy_core.c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid
[karo-tx-linux.git] / net / netfilter / nf_synproxy_core.c
index d23dc791aca7f48908cf2e89bcf28d8dad00786b..6fd967c6278c86fbc81ad232035891656750330a 100644 (file)
@@ -356,12 +356,12 @@ static int __net_init synproxy_net_init(struct net *net)
                goto err1;
        }
 
-       __set_bit(IPS_TEMPLATE_BIT, &ct->status);
-       __set_bit(IPS_CONFIRMED_BIT, &ct->status);
        if (!nfct_seqadj_ext_add(ct))
                goto err2;
        if (!nfct_synproxy_ext_add(ct))
                goto err2;
+       __set_bit(IPS_TEMPLATE_BIT, &ct->status);
+       __set_bit(IPS_CONFIRMED_BIT, &ct->status);
 
        snet->tmpl = ct;