]> 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)
commitc182885bfe4064a0ff065e19ccea317d5e3fd1e6
tree5fbf9704e6a8b721a622d66d200ae973d2e32d44
parent7cff28fdec9c64e0854d9368e446f3325d82346d
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: 7d6835d9bd3a ("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