net: Plumb support for filtering ipv4 and ipv6 multicast route dumps
authorDavid Ahern <dsahern@gmail.com>
Tue, 16 Oct 2018 01:56:47 +0000 (18:56 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Oct 2018 07:13:39 +0000 (00:13 -0700)
commitcb167893f41e21e6bd283d78e53489289dc0592d
tree162a0315d6ed8ca0cf056fc854f979a45c2ab2ae
parente1cedae1ba6b09ae8376c1486712bf91ea0dfc41
net: Plumb support for filtering ipv4 and ipv6 multicast route dumps

Implement kernel side filtering of routes by egress device index and
table id. If the table id is given in the filter, lookup table and
call mr_table_dump directly for it.

Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/mroute_base.h
net/ipv4/ipmr.c
net/ipv4/ipmr_base.c
net/ipv6/ip6mr.c