Re: [PATCH] net: fib: Decrease one unnecessary rt cache flush in fib_disable_ip

2017-04-27 Thread David Miller
From: gfree.w...@foxmail.com Date: Wed, 26 Apr 2017 19:04:04 +0800 > From: Gao Feng > > 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 Looks good, applied to net-next, thanks!

[PATCH] net: fib: Decrease one unnecessary rt cache flush in fib_disable_ip

2017-04-26 Thread gfree . wind
From: Gao Feng 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 --- net/ipv4/fib_frontend.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/net/ipv4/fib_frontend.