aboutsummaryrefslogtreecommitdiffstats
path: root/net/netfilter/nf_conntrack_core.c
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2022-03-08 17:28:38 +0100
committerFlorian Westphal <fw@strlen.de>2022-03-08 17:28:38 +0100
commitee0a4dc9f317fb9a97f20037d219802ca8de939b (patch)
tree8c5c2f62b1ff323ef43b74244d8ddfeb12195831 /net/netfilter/nf_conntrack_core.c
parentRevert "netfilter: nat: force port remap to prevent shadowing well-known ports" (diff)
downloadlinux-dev-ee0a4dc9f317fb9a97f20037d219802ca8de939b.tar.xz
linux-dev-ee0a4dc9f317fb9a97f20037d219802ca8de939b.zip
Revert "netfilter: conntrack: tag conntracks picked up in local out hook"
This was a prerequisite for the ill-fated "netfilter: nat: force port remap to prevent shadowing well-known ports". As this has been reverted, this change can be backed out too. Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'net/netfilter/nf_conntrack_core.c')
-rw-r--r--net/netfilter/nf_conntrack_core.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/net/netfilter/nf_conntrack_core.c b/net/netfilter/nf_conntrack_core.c
index d6aa5b47031e..bf1e17c678f1 100644
--- a/net/netfilter/nf_conntrack_core.c
+++ b/net/netfilter/nf_conntrack_core.c
@@ -1748,9 +1748,6 @@ resolve_normal_ct(struct nf_conn *tmpl,
return 0;
if (IS_ERR(h))
return PTR_ERR(h);
-
- ct = nf_ct_tuplehash_to_ctrack(h);
- ct->local_origin = state->hook == NF_INET_LOCAL_OUT;
}
ct = nf_ct_tuplehash_to_ctrack(h);