diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2008-11-25 17:38:20 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-25 17:38:20 -0800 |
commit | a6483b790f8efcd8db190c1c0ff93f9d9efe919a (patch) | |
tree | e05ba1d3e7014409a69d878bf9f24c5eb93365e4 /include/net/netns | |
parent | bd235e3cfff617ff91677da553714051866ba55f (diff) | |
download | op-kernel-dev-a6483b790f8efcd8db190c1c0ff93f9d9efe919a.zip op-kernel-dev-a6483b790f8efcd8db190c1c0ff93f9d9efe919a.tar.gz |
netns xfrm: per-netns NETLINK_XFRM socket
Stub senders to init_net's one temporarily.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/netns')
-rw-r--r-- | include/net/netns/xfrm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/netns/xfrm.h b/include/net/netns/xfrm.h index c53d173..09f3060 100644 --- a/include/net/netns/xfrm.h +++ b/include/net/netns/xfrm.h @@ -39,6 +39,8 @@ struct netns_xfrm { struct xfrm_policy_hash policy_bydst[XFRM_POLICY_MAX * 2]; unsigned int policy_count[XFRM_POLICY_MAX * 2]; struct work_struct policy_hash_work; + + struct sock *nlsk; }; #endif |