Skip to content

net: bridge: vlan: fixes for vlan mcast contexts

Nikolay Aleksandrov bridge netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (refs/heads/master):

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesApplied 4/4

Patches in v1 All 4 applied

#Subject and filesSizeRepliesApplied
1/4net: bridge: vlan: enable mcast snooping for existing master vlansnet/bridge/br_vlan.c+1 -00 repliesApplied
2/4net: bridge: vlan: account for router port lists when notifyingnet/bridge/br_mdb.c net/bridge/br_private.h net/bridge/br_vlan_options.c+40 -80 repliesApplied
3/4net: bridge: mcast: use the correct vlan group helpernet/bridge/br_multicast.c+3 -20 repliesApplied
4/4net: bridge: mcast: toggle also host vlan state in br_multicast_toggle_vlannet/bridge/br_multicast.c net/bridge/br_private.h+4 -70 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net-next 0/4] net: bridge: vlan: fixes for vlan mcast contexts

From: Nikolay Aleksandrov <[email protected]>

Hi,
These are four fixes for vlan multicast contexts. The first patch enables mcast ctx snooping when adding already existing master vlans to be consistent with the rest of the code. The second patch accounts for the mcast ctx router ports when allocating skb for notification. The third one fixes two suspicious rcu usages due to wrong vlan group helper, and the fourth updates host vlan mcast state along with port mcast state.

Thanks,
Nik

Nikolay Aleksandrov (4):
net: bridge: vlan: enable mcast snooping for existing master vlans
net: bridge: vlan: account for router port lists when notifying
net: bridge: mcast: use the correct vlan group helper
net: bridge: mcast: toggle also host vlan state in
br_multicast_toggle_vlan

 net/bridge/br_mdb.c          | 30 ++++++++++++++++++++++++++++++
 net/bridge/br_multicast.c    | 10 +++++++---
 net/bridge/br_private.h      |  7 +------
 net/bridge/br_vlan.c         |  1 +
 net/bridge/br_vlan_options.c | 17 +++++++++--------
 5 files changed, 48 insertions(+), 17 deletions(-)
Signature · 1 line
2.31.1