diff options
author | Nikolay Aleksandrov <nikolay@nvidia.com> | 2021-12-28 16:31:42 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-12-30 02:49:45 +0100 |
commit | 168fed986b3a7ec7b98cab1fe84e2f282b9e6a8f (patch) | |
tree | 559d70617e072067cb48073d22dd99a6b87f0339 /net/ncsi | |
parent | net: fix use-after-free in tw_timer_handler (diff) | |
download | linux-168fed986b3a7ec7b98cab1fe84e2f282b9e6a8f.tar.xz linux-168fed986b3a7ec7b98cab1fe84e2f282b9e6a8f.zip |
net: bridge: mcast: fix br_multicast_ctx_vlan_global_disabled helper
We need to first check if the context is a vlan one, then we need to
check the global bridge multicast vlan snooping flag, and finally the
vlan's multicast flag, otherwise we will unnecessarily enable vlan mcast
processing (e.g. querier timers).
Fixes: 7b54aaaf53cb ("net: bridge: multicast: add vlan state initialization and control")
Signed-off-by: Nikolay Aleksandrov <nikolay@nvidia.com>
Link: https://lore.kernel.org/r/20211228153142.536969-1-nikolay@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/ncsi')
0 files changed, 0 insertions, 0 deletions