]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
netns xfrm: per-netns state GC list
authorAlexey Dobriyan <adobriyan@gmail.com>
Wed, 26 Nov 2008 01:20:11 +0000 (17:20 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Nov 2008 01:20:11 +0000 (17:20 -0800)
commitb8a0ae20b0eecd4b86a113d2abe2fa5a582b30a6
tree7425a504250c79c86c69293772a4a4271ed74237
parent630827338585022b851ec0a6335df8e436c900e4
netns xfrm: per-netns state GC list

km_waitq is going to be made per-netns to disallow spurious wakeups
in __xfrm_lookup().

To not wakeup after every garbage-collected xfrm_state (which potentially
can be from different netns) make state GC list per-netns.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/netns/xfrm.h
net/xfrm/xfrm_state.c