]> git.baikalelectronics.ru Git - kernel.git/commit
net: igmp: Use ingress interface rather than vrf device
authorDavid Ahern <dsahern@gmail.com>
Wed, 16 Aug 2017 01:38:42 +0000 (18:38 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Aug 2017 18:08:55 +0000 (11:08 -0700)
commit88d54514ee690199ea3913d504176ceabfb42b14
tree5fbf9704e6a8b721a622d66d200ae973d2e32d44
parent075c2d8edd2113aafa58d22dd0f10afdb72963b5
net: igmp: Use ingress interface rather than vrf device

Anuradha reported that statically added groups for interfaces enslaved
to a VRF device were not persisting. The problem is that igmp queries
and reports need to use the data in the in_dev for the real ingress
device rather than the VRF device. Update igmp_rcv accordingly.

Fixes: 00ba4bc64bbc ("net: Enable support for VRF with ipv4 multicast")
Reported-by: Anuradha Karuppiah <anuradhak@cumulusnetworks.com>
Signed-off-by: David Ahern <dsahern@gmail.com>
Reviewed-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/igmp.c