Commit 06b4fc52 authored by Gao Feng's avatar Gao Feng Committed by David S. Miller
Browse files

net: fib: Decrease one unnecessary rt cache flush in fib_disable_ip

The func fib_flush already flushes the rt cache if necessary, so it
is not necessary to invoke rt_cache_flush again in fib_disable_ip.
Signed-off-by: default avatarGao Feng <>
Signed-off-by: default avatarDavid S. Miller <>
parent 1514dc85
......@@ -1130,7 +1130,8 @@ static void fib_disable_ip(struct net_device *dev, unsigned long event,
if (fib_sync_down_dev(dev, event, force))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment