diff options
author | Daniel Lezcano <dlezcano@fr.ibm.com> | 2008-03-04 16:47:14 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-03-04 16:47:14 -0500 |
commit | 7b4da53229bb61469bdab321384b9a13406e3485 (patch) | |
tree | e2d067ffbbcabaa511b092ac8a9abf7affc40b79 /include/net/ip6_route.h | |
parent | efa2cea0d97a91dbbc067463de702738f7e50748 (diff) |
[NETNS][IPV6] route6 - Pass the network namespace parameter to rt6_purge_dflt_routers
Add a network namespace parameter to rt6_purge_dflt_routers. This is
needed to call fib6_get_table with the appropriate 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/ip6_route.h')
-rw-r--r-- | include/net/ip6_route.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/ip6_route.h b/include/net/ip6_route.h index 92004c5160c7..1444d358836d 100644 --- a/include/net/ip6_route.h +++ b/include/net/ip6_route.h | |||
@@ -95,7 +95,7 @@ extern struct rt6_info * rt6_add_dflt_router(struct in6_addr *gwaddr, | |||
95 | struct net_device *dev, | 95 | struct net_device *dev, |
96 | unsigned int pref); | 96 | unsigned int pref); |
97 | 97 | ||
98 | extern void rt6_purge_dflt_routers(void); | 98 | extern void rt6_purge_dflt_routers(struct net *net); |
99 | 99 | ||
100 | extern int rt6_route_rcv(struct net_device *dev, | 100 | extern int rt6_route_rcv(struct net_device *dev, |
101 | u8 *opt, int len, | 101 | u8 *opt, int len, |