Home
last modified time | relevance | path

Searched hist:ddd0d5293810c1882e2a96f8cce1678823b1dd38 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/bridge/
H A Dbr_multicast.cdiff ddd0d5293810c1882e2a96f8cce1678823b1dd38 Fri Sep 03 04:34:15 CDT 2021 Nikolay Aleksandrov <nikolay@nvidia.com> net: bridge: mcast: fix vlan port router deadlock

Before vlan/port mcast router support was added
br_multicast_set_port_router was used only with bh already disabled due
to the bridge port lock, but that is no longer the case and when it is
called to configure a vlan/port mcast router we can deadlock with the
timer, so always disable bh to make sure it can be called from contexts
with both enabled and disabled bh.

Fixes: 2796d846d74a ("net: bridge: vlan: convert mcast router global option to per-vlan entry")
Signed-off-by: Nikolay Aleksandrov <nikolay@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>