net: ipmr: Add ipmr_rtm_getroute
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 28 Jun 2017 17:58:57 +0000 (13:58 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 29 Jun 2017 19:37:48 +0000 (15:37 -0400)
commit4f75ba6982bc7e37e7738b2f1257d21a9c9e5d31
tree8da81ea0fb668f1f9e96a53d20253bc19c897532
parent8007e40a24e12d35189203370268c7278f29ab74
net: ipmr: Add ipmr_rtm_getroute

Add to RTNL_FAMILY_IPMR, RTM_GETROUTE the ability
to retrieve one S,G mroute from a specified table.

*,G will return mroute information for just that
particular mroute if it exists.  This is because
it is entirely possible to have more S's then
can fit in one skb to return to the requesting
process.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ipmr.c