Re: [PATCH ipsec-next] xfrm: state: remove per-netns gc task

2016-08-25 Thread Steffen Klassert
On Tue, Aug 23, 2016 at 04:00:12PM +0200, Florian Westphal wrote: > 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 globa

[PATCH ipsec-next] xfrm: state: remove per-netns gc task

2016-08-23 Thread Florian Westphal
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 --- include/net/netns