summaryrefslogtreecommitdiff
path: root/include/net/netns/conntrack.h
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2022-04-11 14:01:18 +0300
committerPablo Neira Ayuso <pablo@netfilter.org>2022-05-13 19:52:16 +0300
commit1397af5bfd7d32b0cf2adb70a78c9a9e8f11d912 (patch)
tree11e63b8c7924ec751ed48e9dc73c2a7ca0b5245d /include/net/netns/conntrack.h
parent0d3cc504ba9cdcff76346306c37eb1ea01e60a86 (diff)
downloadlinux-1397af5bfd7d32b0cf2adb70a78c9a9e8f11d912.tar.xz
netfilter: conntrack: remove the percpu dying list
Its no longer needed. Entries that need event redelivery are placed on the new pernet dying list. The advantage is that there is no need to take additional spinlock on conntrack removal unless event redelivery failed or the conntrack entry was never added to the table in the first place (confirmed bit not set). The IPS_CONFIRMED bit now needs to be set as soon as the entry has been unlinked from the unconfirmed list, else the destroy function may attempt to unlink it a second time. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/net/netns/conntrack.h')
-rw-r--r--include/net/netns/conntrack.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/netns/conntrack.h b/include/net/netns/conntrack.h
index 0294f3d473af..e985a3010b89 100644
--- a/include/net/netns/conntrack.h
+++ b/include/net/netns/conntrack.h
@@ -96,7 +96,6 @@ struct nf_ip_net {
struct ct_pcpu {
spinlock_t lock;
struct hlist_nulls_head unconfirmed;
- struct hlist_nulls_head dying;
};
struct netns_ct {