net: ip6mr: add RTM_GETROUTE netlink op

JIRA: https://issues.redhat.com/browse/RHEL-50554 Upstream Status: net.git

commit d7c31cbde4bc6756d1a11747d2b99bc627001c86 Author: David Lamparter equinox@diac24.net Date: Tue Jul 12 14:10:02 2022 +0200

net: ip6mr: add RTM_GETROUTE netlink op

The IPv6 multicast routing code previously implemented only the dump
variant of RTM_GETROUTE.  Implement single MFC item retrieval by copying
and adapting the respective IPv4 code.

Tested against FRRouting's IPv6 PIM stack.

Signed-off-by: David Lamparter <equinox@diac24.net>
Reviewed-by: Nikolay Aleksandrov <razor@blackwall.org>
Reviewed-by: David Ahern <dsahern@kernel.org>
Cc: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

Signed-off-by: Andrea Claudi aclaudi@redhat.com

Merge request reports

Loading