]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
xfrm: state: remove per-netns gc task
authorFlorian Westphal <fw@strlen.de>
Tue, 23 Aug 2016 14:00:12 +0000 (16:00 +0200)
committerSteffen Klassert <steffen.klassert@secunet.com>
Wed, 24 Aug 2016 11:16:06 +0000 (13:16 +0200)
commit35db57bbc4b7ab810bba6e6d6954a0faf5a842cf
tree6d158c2c0f8da102efa29b3282d7b58526bf8fbf
parent4141b36ab16d7a66b4cf712f2d21eba61c5927e5
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>
include/net/netns/xfrm.h
net/xfrm/xfrm_state.c