]> git.baikalelectronics.ru Git - kernel.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)
commit6a5efa6b6fcc8b620d3112d3737d17c113237278
treed0abbfdff4e030032326768ceff06967d83bb25a
parent198732e77d022d964e1a4b7ea2b39f2b439fd753
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