From: Masashi Honma
Date: Sun, 25 Oct 2015 11:44:27 +0900
> The fib6_get_table() is called twice to show the warning.
> This patch reduces calling the function.
>
> Signed-off-by: Masashi Honma
I think the added cost of passing a reference to an on-stack variable
exceeds the value of whatever
The fib6_get_table() is called twice to show the warning.
This patch reduces calling the function.
Signed-off-by: Masashi Honma
---
include/net/ip6_fib.h | 2 +-
net/ipv6/fib6_rules.c | 3 ++-
net/ipv6/ip6_fib.c| 10 +++---
net/ipv6/route.c | 13 -
4 files changed, 14