]> 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)
commit9aa9368e6b653afd52fcd660d37632b99335f900
treeb1791a1aca4521df03d0d0824195b288c6e01319
parent2e91f0bbf50889ef6e915f3678cddc175fc1d888
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