Revert "net/ipv6: Bail early if user only wants cloned entries"
authorStefano Brivio <sbrivio@redhat.com>
Fri, 21 Jun 2019 15:45:24 +0000 (17:45 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Jun 2019 17:18:49 +0000 (10:18 -0700)
commitef11209d421976fe0990b43dbf91e2d6918813d0
treef57f204271aba6188fed7642f962f4236ca156f8
parentee28906fd7a1437ca77a60a99b6b9c6d676220f8
Revert "net/ipv6: Bail early if user only wants cloned entries"

This reverts commit 08e814c9e8eb5a982cbd1e8f6bd255d97c51026f: as we
are preparing to fix listing and dumping of IPv6 cached routes, we
need to allow RTM_F_CLONED as a flag to match routes against while
dumping them.

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