]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitffba5e0067516d7071ac5c060a0176fa008a6c4a
tree8da81ea0fb668f1f9e96a53d20253bc19c897532
parent0d8d6f6fbcd8e1eabd10fbb44d207595336c965d
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