]> err.no Git - linux-2.6/blobdiff - net/ipv4/fib_frontend.c
the scheduled ieee80211 softmac removal
[linux-2.6] / net / ipv4 / fib_frontend.c
index d0507f4f848afe8729be29bc9df5e8affaa9fc2b..86ff2711fc957977f179da841a0ffc3b698e75ac 100644 (file)
@@ -808,7 +808,7 @@ static void fib_del_ifaddr(struct in_ifaddr *ifa)
                           First of all, we scan fib_info list searching
                           for stray nexthop entries, then ignite fib_flush.
                        */
-                       if (fib_sync_down(ifa->ifa_local, NULL, 0))
+                       if (fib_sync_down_addr(dev->nd_net, ifa->ifa_local))
                                fib_flush(dev->nd_net);
                }
        }
@@ -898,7 +898,7 @@ static void nl_fib_lookup_exit(struct net *net)
 
 static void fib_disable_ip(struct net_device *dev, int force)
 {
-       if (fib_sync_down(0, dev, force))
+       if (fib_sync_down_dev(dev, force))
                fib_flush(dev->nd_net);
        rt_cache_flush(0);
        arp_ifdown(dev);