]> git.baikalelectronics.ru Git - kernel.git/commit
net: bridge: mcast: use the proper multicast context when dumping router ports
authorNikolay Aleksandrov <nikolay@nvidia.com>
Tue, 10 Aug 2021 15:29:32 +0000 (18:29 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Aug 2021 12:34:41 +0000 (13:34 +0100)
commit76a1c7be7cb5f2810f46fbefb8df7d47175ff422
tree322bdc127f617a8a85bba9db3d9a2ef49f605e48
parenteac0307fab13fc439d76608f378f2e1ed2e41a35
net: bridge: mcast: use the proper multicast context when dumping router ports

When we are dumping the router ports of a vlan mcast context we need to
use the bridge/vlan and port/vlan's multicast contexts to check if
IPv4/IPv6 router port is present and later to dump the vlan id.

Signed-off-by: Nikolay Aleksandrov <nikolay@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_mdb.c