diff options
Diffstat (limited to 'src/conntrack/copy.c')
-rw-r--r-- | src/conntrack/copy.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/conntrack/copy.c b/src/conntrack/copy.c index a6aa9f7..e66c952 100644 --- a/src/conntrack/copy.c +++ b/src/conntrack/copy.c @@ -524,5 +524,8 @@ void __copy_fast(struct nf_conntrack *ct1, const struct nf_conntrack *ct2) { memcpy(ct1, ct2, sizeof(*ct1)); /* special case: secctx attribute is allocated dinamically. */ + ct1->secctx = NULL; /* don't free: ct2 uses it */ + ct1->helper_info = NULL; copy_attr_secctx(ct1, ct2); + copy_attr_help_info(ct1, ct2); } |