|
@@ -68,7 +68,7 @@ void nf_dup_ipv4(struct net *net, struct sk_buff *skb, unsigned int hooknum,
|
|
|
|
|
|
#if IS_ENABLED(CONFIG_NF_CONNTRACK)
|
|
#if IS_ENABLED(CONFIG_NF_CONNTRACK)
|
|
/* Avoid counting cloned packets towards the original connection. */
|
|
/* Avoid counting cloned packets towards the original connection. */
|
|
- nf_conntrack_put(skb->nfct);
|
|
|
|
|
|
+ nf_reset(skb);
|
|
skb->nfct = &nf_ct_untracked_get()->ct_general;
|
|
skb->nfct = &nf_ct_untracked_get()->ct_general;
|
|
skb->nfctinfo = IP_CT_NEW;
|
|
skb->nfctinfo = IP_CT_NEW;
|
|
nf_conntrack_get(skb->nfct);
|
|
nf_conntrack_get(skb->nfct);
|