aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/netfilter/nf_synproxy_core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/netfilter/nf_synproxy_core.c b/net/netfilter/nf_synproxy_core.c
index d23dc791aca7..6fd967c6278c 100644
--- a/net/netfilter/nf_synproxy_core.c
+++ b/net/netfilter/nf_synproxy_core.c
@@ -356,12 +356,12 @@ static int __net_init synproxy_net_init(struct net *net)
356 goto err1; 356 goto err1;
357 } 357 }
358 358
359 __set_bit(IPS_TEMPLATE_BIT, &ct->status);
360 __set_bit(IPS_CONFIRMED_BIT, &ct->status);
361 if (!nfct_seqadj_ext_add(ct)) 359 if (!nfct_seqadj_ext_add(ct))
362 goto err2; 360 goto err2;
363 if (!nfct_synproxy_ext_add(ct)) 361 if (!nfct_synproxy_ext_add(ct))
364 goto err2; 362 goto err2;
363 __set_bit(IPS_TEMPLATE_BIT, &ct->status);
364 __set_bit(IPS_CONFIRMED_BIT, &ct->status);
365 365
366 snet->tmpl = ct; 366 snet->tmpl = ct;
367 367