Commit ee0a4dc9 authored by Florian Westphal's avatar Florian Westphal

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: default avatarFlorian Westphal <fw@strlen.de>
parent a82c25c3
...@@ -97,7 +97,6 @@ struct nf_conn { ...@@ -97,7 +97,6 @@ struct nf_conn {
unsigned long status; unsigned long status;
u16 cpu; u16 cpu;
u16 local_origin:1;
possible_net_t ct_net; possible_net_t ct_net;
#if IS_ENABLED(CONFIG_NF_NAT) #if IS_ENABLED(CONFIG_NF_NAT)
......
...@@ -1748,9 +1748,6 @@ resolve_normal_ct(struct nf_conn *tmpl, ...@@ -1748,9 +1748,6 @@ resolve_normal_ct(struct nf_conn *tmpl,
return 0; return 0;
if (IS_ERR(h)) if (IS_ERR(h))
return PTR_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); ct = nf_ct_tuplehash_to_ctrack(h);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment