diff options
author | Denis V. Lunev <den@openvz.org> | 2008-01-10 06:26:13 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:01:29 -0500 |
commit | 4d1169c1e781e5853317c6b75620d678b2c4854e (patch) | |
tree | 69e7a7cf4c0f619d13eec7ff85ab1837f3abaf16 /include | |
parent | 6b175b26c1048d331508940ad3516ead1998084f (diff) |
[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 a52d03601754..a5e6d0ef51dd 100644 --- a/include/net/netlink.h +++ b/include/net/netlink.h | |||
@@ -217,6 +217,7 @@ struct nla_policy { | |||
217 | */ | 217 | */ |
218 | struct nl_info { | 218 | struct nl_info { |
219 | struct nlmsghdr *nlh; | 219 | struct nlmsghdr *nlh; |
220 | struct net *nl_net; | ||
220 | u32 pid; | 221 | u32 pid; |
221 | }; | 222 | }; |
222 | 223 | ||