summaryrefslogtreecommitdiffstats
path: root/include/net/ip6_fib.h
diff options
context:
space:
mode:
authorDavid Ahern <dsahern@gmail.com>2019-06-08 23:53:33 +0200
committerDavid S. Miller <davem@davemloft.net>2019-06-10 19:44:57 +0200
commit6c48ea5fe639ab7e7b3eb5d8e8b324b13188bf10 (patch)
tree2eb94deff893ca111adf181d1b98c3ae51169733 /include/net/ip6_fib.h
parentipv4: Allow routes to use nexthop objects (diff)
downloadlinux-6c48ea5fe639ab7e7b3eb5d8e8b324b13188bf10.tar.xz
linux-6c48ea5fe639ab7e7b3eb5d8e8b324b13188bf10.zip
ipv4: Optimization for fib_info lookup with nexthops
Be optimistic about re-using a fib_info when nexthop id is given and the route does not use metrics. Avoids a memory allocation which in most cases is expected to be freed anyways. Signed-off-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ip6_fib.h')
0 files changed, 0 insertions, 0 deletions