netns: add namespace parameter to rt_cache_flush
[linux-2.6.git] / net / ipv4 / arp.c
index 20c515a..29df75a 100644 (file)
@@ -1197,7 +1197,7 @@ static int arp_netdev_event(struct notifier_block *this, unsigned long event, vo
        switch (event) {
        case NETDEV_CHANGEADDR:
                neigh_changeaddr(&arp_tbl, dev);
-               rt_cache_flush(0);
+               rt_cache_flush(dev_net(dev), 0);
                break;
        default:
                break;