]> git.baikalelectronics.ru Git - kernel.git/commit
net/ipv6: Bail early if user only wants cloned entries
authorDavid Ahern <dsahern@gmail.com>
Tue, 16 Oct 2018 01:56:50 +0000 (18:56 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Oct 2018 07:14:07 +0000 (00:14 -0700)
commit5780e8e99ca1dfc77eef3cc6a9448eb189e3ec8a
treeb1791a1aca4521df03d0d0824195b288c6e01319
parent0d18ebab35fbbd6eab084b77f067285268ae8005
net/ipv6: Bail early if user only wants cloned entries

Similar to IPv4, IPv6 fib no longer contains cloned routes. If a user
requests a route dump for only cloned entries, no sense walking the FIB
and returning everything.

Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6_fib.c