diff options
author | Denis V. Lunev <den@openvz.org> | 2008-07-06 04:00:44 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-07-06 04:00:44 +0200 |
commit | 76e6ebfb40a2455c18234dcb0f9df37533215461 (patch) | |
tree | f3b435e8b27a297f330fc7d497a0ef44022e7239 /net/ipv4/arp.c | |
parent | tun: Allow GSO using virtio_net_hdr (diff) | |
download | linux-76e6ebfb40a2455c18234dcb0f9df37533215461.tar.xz linux-76e6ebfb40a2455c18234dcb0f9df37533215461.zip |
netns: add namespace parameter to rt_cache_flush
Signed-off-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/arp.c')
-rw-r--r-- | net/ipv4/arp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/arp.c b/net/ipv4/arp.c index 20c515a1be28..29df75a6bcc7 100644 --- a/net/ipv4/arp.c +++ b/net/ipv4/arp.c @@ -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; |