]> git.baikalelectronics.ru Git - kernel.git/commit
ipv4/fib_frontend: Allow RTM_F_CLONED flag to be used for filtering
authorStefano Brivio <sbrivio@redhat.com>
Fri, 21 Jun 2019 15:45:21 +0000 (17:45 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Jun 2019 17:18:48 +0000 (10:18 -0700)
commite5b865edb5722522d25db1299d73fb79fb47bab8
treed0a4846d36d3a10bb81dcb200d8bb91506540639
parentbd26e3d562021d0031a4484517c8e0f2daef023b
ipv4/fib_frontend: Allow RTM_F_CLONED flag to be used for filtering

This functionally reverts the check introduced by commit
6e6db7d416d1 ("rtnetlink: Update fib dumps for strict data checking")
as modified by commit f4b94150c178 ("net/ipv4: Bail early if user only
wants prefix entries").

As we are preparing to fix listing of IPv4 cached routes, we need to
give userspace a way to request 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/ipv4/fib_frontend.c