diff options
author | Daniel Lezcano <dlezcano@fr.ibm.com> | 2008-03-05 13:46:57 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-03-05 13:46:57 -0500 |
commit | af2849377e7b70afa1274e475be50286cd0ef6eb (patch) | |
tree | 56ef076e3646085138353ffe03b985a15edce6bf /include/net/addrconf.h | |
parent | 300bf591deca8d108799e70e9300dc31765643e3 (diff) |
[NETNS][IPV6] addrconf - Pass the proper network namespace parameters to addrconf
This patch propagates the network namespace pointer to the address
configuration routines which need it, which means adding a new
parameter to these functions, and make them use it instead of using
the initial network namespace.
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
Signed-off-by: Benjamin Thery <benjamin.thery@bull.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/addrconf.h')
-rw-r--r-- | include/net/addrconf.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/include/net/addrconf.h b/include/net/addrconf.h index 89e3c53c8886..232da20e7171 100644 --- a/include/net/addrconf.h +++ b/include/net/addrconf.h | |||
@@ -55,9 +55,12 @@ struct prefix_info { | |||
55 | extern int addrconf_init(void); | 55 | extern int addrconf_init(void); |
56 | extern void addrconf_cleanup(void); | 56 | extern void addrconf_cleanup(void); |
57 | 57 | ||
58 | extern int addrconf_add_ifaddr(void __user *arg); | 58 | extern int addrconf_add_ifaddr(struct net *net, |
59 | extern int addrconf_del_ifaddr(void __user *arg); | 59 | void __user *arg); |
60 | extern int addrconf_set_dstaddr(void __user *arg); | 60 | extern int addrconf_del_ifaddr(struct net *net, |
61 | void __user *arg); | ||
62 | extern int addrconf_set_dstaddr(struct net *net, | ||
63 | void __user *arg); | ||
61 | 64 | ||
62 | extern int ipv6_chk_addr(struct net *net, | 65 | extern int ipv6_chk_addr(struct net *net, |
63 | struct in6_addr *addr, | 66 | struct in6_addr *addr, |