diff options
author | Florian Westphal <fw@strlen.de> | 2016-08-23 17:00:12 +0300 |
---|---|---|
committer | Steffen Klassert <steffen.klassert@secunet.com> | 2016-08-24 14:16:06 +0300 |
commit | 35db57bbc4b7ab810bba6e6d6954a0faf5a842cf (patch) | |
tree | 6d158c2c0f8da102efa29b3282d7b58526bf8fbf /include | |
parent | 4141b36ab16d7a66b4cf712f2d21eba61c5927e5 (diff) | |
download | linux-35db57bbc4b7ab810bba6e6d6954a0faf5a842cf.tar.xz |
xfrm: state: remove per-netns gc task
After commit 5b8ef3415a21f173
("xfrm: Remove ancient sleeping when the SA is in acquire state")
gc does not need any per-netns data anymore.
As far as gc is concerned all state structs are the same, so we
can use a global work struct for it.
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/netns/xfrm.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/net/netns/xfrm.h b/include/net/netns/xfrm.h index 177ed444d7b2..27bb9633c69d 100644 --- a/include/net/netns/xfrm.h +++ b/include/net/netns/xfrm.h @@ -44,8 +44,6 @@ struct netns_xfrm { unsigned int state_hmask; unsigned int state_num; struct work_struct state_hash_work; - struct hlist_head state_gc_list; - struct work_struct state_gc_work; struct list_head policy_all; struct hlist_head *policy_byidx; |