bridge: mcast: Use spin_lock() instead of spin_lock_bh()
authorIdo Schimmel <idosch@nvidia.com>
Tue, 18 Oct 2022 06:40:00 +0000 (09:40 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Oct 2022 13:01:08 +0000 (14:01 +0100)
commit262985fad1bd819d1323c6dbd72a8d9ed1c6090c
tree35af336f7c324f23bf0a434aee77cf294590f4f0
parentb526b2ea1454d03b294cd10aa35695d5232b1106
bridge: mcast: Use spin_lock() instead of spin_lock_bh()

IGMPv3 / MLDv2 Membership Reports are only processed from the data path
with softIRQ disabled, so there is no need to call spin_lock_bh(). Use
spin_lock() instead.

This is consistent with how other IGMP / MLD packets are processed.

Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Acked-by: Nikolay Aleksandrov <razor@blackwall.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_multicast.c