]> 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)
commit4e57516cf7f714f4c307e5144bd97a4eb262ebab
tree8da81ea0fb668f1f9e96a53d20253bc19c897532
parentf6931b06c40a94aca6673883c3c1e42e006cd18b
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