xfrm: Using the right namespace to migrate key info
authorFan Du <fan.du@windriver.com>
Thu, 7 Nov 2013 09:47:49 +0000 (17:47 +0800)
committerSteffen Klassert <steffen.klassert@secunet.com>
Fri, 6 Dec 2013 05:45:05 +0000 (06:45 +0100)
commit8d549c4f5d92d80fc6f888fd314e10972ae0ec37
treece8175ec97d47ff6cc6a46360bde3788fca49934
parente682adf021be796940be6cc10c07be7f7398c220
xfrm: Using the right namespace to migrate key info

because the home agent could surely be run on a different
net namespace other than init_net. The original behavior
could lead into inconsistent of key info.

Signed-off-by: Fan Du <fan.du@windriver.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
include/net/xfrm.h
net/key/af_key.c
net/xfrm/xfrm_policy.c
net/xfrm/xfrm_user.c