netns xfrm: xfrm_user module in netns
authorAlexey Dobriyan <adobriyan@gmail.com>
Wed, 26 Nov 2008 01:50:08 +0000 (17:50 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Nov 2008 01:50:08 +0000 (17:50 -0800)
commitfc34acd36eecdec95171b98ef2516e3d4daa5c41
tree18df71d4d0046aa7aeecf6a8980276827ad1ba14
parenta6483b790f8efcd8db190c1c0ff93f9d9efe919a
netns xfrm: xfrm_user module in netns

Grab netns either from netlink socket, state or policy.

SA and SPD flush are in init_net for now, this requires little
attention, see below.

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