aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/route.c
diff options
context:
space:
mode:
authorLi RongQing <roy.qing.li@gmail.com>2013-12-27 03:32:38 -0500
committerDavid S. Miller <davem@davemloft.net>2014-01-02 03:30:35 -0500
commit0c3584d58913a72a6b28a976f7c0bfd2afb65237 (patch)
tree39a52c05caab356ff62d241de276c8dbfa855232 /net/ipv6/route.c
parentb0555976973aa37f080188665aff2c55aa60f47d (diff)
ipv6: remove prune parameter for fib6_clean_all
since the prune parameter for fib6_clean_all always is 0, remove it. Signed-off-by: Li RongQing <roy.qing.li@gmail.com> Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/route.c')
-rw-r--r--net/ipv6/route.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/ipv6/route.c b/net/ipv6/route.c
index b379d88d796a..266f110cb6f7 100644
--- a/net/ipv6/route.c
+++ b/net/ipv6/route.c
@@ -2258,7 +2258,7 @@ void rt6_remove_prefsrc(struct inet6_ifaddr *ifp)
2258 .net = net, 2258 .net = net,
2259 .addr = &ifp->addr, 2259 .addr = &ifp->addr,
2260 }; 2260 };
2261 fib6_clean_all(net, fib6_remove_prefsrc, 0, &adni); 2261 fib6_clean_all(net, fib6_remove_prefsrc, &adni);
2262} 2262}
2263 2263
2264struct arg_dev_net { 2264struct arg_dev_net {
@@ -2285,7 +2285,7 @@ void rt6_ifdown(struct net *net, struct net_device *dev)
2285 .net = net, 2285 .net = net,
2286 }; 2286 };
2287 2287
2288 fib6_clean_all(net, fib6_ifdown, 0, &adn); 2288 fib6_clean_all(net, fib6_ifdown, &adn);
2289 icmp6_clean_all(fib6_ifdown, &adn); 2289 icmp6_clean_all(fib6_ifdown, &adn);
2290} 2290}
2291 2291
@@ -2340,7 +2340,7 @@ void rt6_mtu_change(struct net_device *dev, unsigned int mtu)
2340 .mtu = mtu, 2340 .mtu = mtu,
2341 }; 2341 };
2342 2342
2343 fib6_clean_all(dev_net(dev), rt6_mtu_change_route, 0, &arg); 2343 fib6_clean_all(dev_net(dev), rt6_mtu_change_route, &arg);
2344} 2344}
2345 2345
2346static const struct nla_policy rtm_ipv6_policy[RTA_MAX+1] = { 2346static const struct nla_policy rtm_ipv6_policy[RTA_MAX+1] = {