summaryrefslogtreecommitdiffstats
path: root/net/ipv4/arp.c
diff options
context:
space:
mode:
authorNicolas Dichtel <nicolas.dichtel@6wind.com>2012-09-07 00:45:29 +0000
committerDavid S. Miller <davem@davemloft.net>2012-09-18 15:44:34 -0400
commitbafa6d9d89072c1a18853afe9ee5de05c491c13a (patch)
treed20837ee56043d318a8d9ea4f10085f0c46f81a9 /net/ipv4/arp.c
parenta1f6d8f771d80ab0beea787aa4f1d02d2eacf22c (diff)
downloadop-kernel-dev-bafa6d9d89072c1a18853afe9ee5de05c491c13a.zip
op-kernel-dev-bafa6d9d89072c1a18853afe9ee5de05c491c13a.tar.gz
ipv4/route: arg delay is useless in rt_cache_flush()
Since route cache deletion (89aef8921bfbac22f), delay is no more used. Remove it. Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com> Acked-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/arp.c')
-rw-r--r--net/ipv4/arp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/arp.c b/net/ipv4/arp.c
index 77e87af..4780045 100644
--- a/net/ipv4/arp.c
+++ b/net/ipv4/arp.c
@@ -1225,7 +1225,7 @@ static int arp_netdev_event(struct notifier_block *this, unsigned long event,
switch (event) {
case NETDEV_CHANGEADDR:
neigh_changeaddr(&arp_tbl, dev);
- rt_cache_flush(dev_net(dev), 0);
+ rt_cache_flush(dev_net(dev));
break;
default:
break;
OpenPOWER on IntegriCloud