diff options
author | Denis V. Lunev <den@openvz.org> | 2008-01-23 01:04:30 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:11:04 -0500 |
commit | 1ab352768fc73838b062776ca5d1add3876a019f (patch) | |
tree | b30bd7744e30e90b6db01b71a5c8b86140538255 /include | |
parent | 010278ec4cdf404aefc0bbd5e7406674fec95286 (diff) |
[NETNS]: Add namespace parameter to ip_dev_find.
in_dev_find() need a namespace to pass it to fib_get_table(), so add
an argument.
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/linux/inetdevice.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/inetdevice.h b/include/linux/inetdevice.h index e74a2ee8ee2a..8d9eaaebded7 100644 --- a/include/linux/inetdevice.h +++ b/include/linux/inetdevice.h | |||
@@ -129,7 +129,7 @@ struct in_ifaddr | |||
129 | extern int register_inetaddr_notifier(struct notifier_block *nb); | 129 | extern int register_inetaddr_notifier(struct notifier_block *nb); |
130 | extern int unregister_inetaddr_notifier(struct notifier_block *nb); | 130 | extern int unregister_inetaddr_notifier(struct notifier_block *nb); |
131 | 131 | ||
132 | extern struct net_device *ip_dev_find(__be32 addr); | 132 | extern struct net_device *ip_dev_find(struct net *net, __be32 addr); |
133 | extern int inet_addr_onlink(struct in_device *in_dev, __be32 a, __be32 b); | 133 | extern int inet_addr_onlink(struct in_device *in_dev, __be32 a, __be32 b); |
134 | extern int devinet_ioctl(unsigned int cmd, void __user *); | 134 | extern int devinet_ioctl(unsigned int cmd, void __user *); |
135 | extern void devinet_init(void); | 135 | extern void devinet_init(void); |