summaryrefslogtreecommitdiff
path: root/include/net/netlink.h
diff options
context:
space:
mode:
authorDenis V. Lunev <den@openvz.org>2008-01-10 14:26:13 +0300
committerDavid S. Miller <davem@davemloft.net>2008-01-29 02:01:29 +0300
commit4d1169c1e781e5853317c6b75620d678b2c4854e (patch)
tree69e7a7cf4c0f619d13eec7ff85ab1837f3abaf16 /include/net/netlink.h
parent6b175b26c1048d331508940ad3516ead1998084f (diff)
downloadlinux-4d1169c1e781e5853317c6b75620d678b2c4854e.tar.xz
[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/net/netlink.h')
-rw-r--r--include/net/netlink.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/netlink.h b/include/net/netlink.h
index a52d03601754..a5e6d0ef51dd 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;
};