diff options
author | Denis V. Lunev <den@openvz.org> | 2008-01-10 03:26:13 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 15:01:29 -0800 |
commit | 4d1169c1e781e5853317c6b75620d678b2c4854e (patch) | |
tree | 69e7a7cf4c0f619d13eec7ff85ab1837f3abaf16 /include | |
parent | 6b175b26c1048d331508940ad3516ead1998084f (diff) | |
download | kernel_samsung_smdk4412-4d1169c1e781e5853317c6b75620d678b2c4854e.zip kernel_samsung_smdk4412-4d1169c1e781e5853317c6b75620d678b2c4854e.tar.gz kernel_samsung_smdk4412-4d1169c1e781e5853317c6b75620d678b2c4854e.tar.bz2 |
[NETNS]: Add netns to nl_info structure.
nl_info is used to track the end-user destination of routing change
notification. This is a natural object to hold a namespace on. Place
it there and utilize the context in the appropriate places.
Acked-by: Benjamin Thery <benjamin.thery@bull.net>
Acked-by: Daniel Lezcano <dlezcano@fr.ibm.com>
Signed-off-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/netlink.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/netlink.h b/include/net/netlink.h index a52d036..a5e6d0e 100644 --- a/include/net/netlink.h +++ b/include/net/netlink.h @@ -217,6 +217,7 @@ struct nla_policy { */ struct nl_info { struct nlmsghdr *nlh; + struct net *nl_net; u32 pid; }; |