Files
linux/net
Nikolay Aleksandrov 2e70bf39b1 net: bridge: multicast: fix PIM hello router port marking race
commit 04bef83a33 upstream.

When a PIM hello packet is received on a bridge port with multicast
snooping enabled, we mark it as a router port automatically, that
includes adding that port the router port list. The multicast lock
protects that list, but it is not acquired in the PIM message case
leading to a race condition, we need to take it to fix the race.

Cc: stable@vger.kernel.org
Fixes: 91b02d3d13 ("bridge: mcast: add router port on PIM hello message")
Signed-off-by: Nikolay Aleksandrov <nikolay@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-07-20 16:16:15 +02:00
..
2019-12-05 09:21:30 +01:00
2018-07-24 14:10:42 -07:00
2021-06-30 08:48:13 -04:00
2018-07-24 14:10:43 -07:00