]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
net: fib: Decrease one unnecessary rt cache flush in fib_disable_ip
authorGao Feng <fgao@ikuai8.com>
Wed, 26 Apr 2017 11:04:04 +0000 (19:04 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Apr 2017 20:33:30 +0000 (16:33 -0400)
commit06b4fc520d21b7a6327983d64373505859672e91
treed0abbfdff4e030032326768ceff06967d83bb25a
parent1514dc857f8ebbeb44da09236efa133ed6e15615
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: Gao Feng <fgao@ikuai8.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/fib_frontend.c