Skip to content

net: bridge: multicast: add mdb and host context support

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 Latest2 patches 0 repliesApplied 2/2

Patches in v1 All 2 applied

#Subject and filesSizeRepliesApplied
1/2net: bridge: multicast: add mdb context supportnet/bridge/br_mdb.c+40 -30 repliesApplied
2/2net: bridge: multicast: add context support for host-joined groupsnet/bridge/br_mdb.c net/bridge/br_multicast.c net/bridge/br_private.h+7 -60 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/2] net: bridge: multicast: add mdb and host context support

From: Nikolay Aleksandrov <[email protected]>

Hi,
This is a minor context improvement which chooses the proper multicast context when adding user mdb entries or host-joined entries (pointing to the bridge device). Patch 01 adds a helper which chooses the proper context when user-space is adding an mdb entry, note that it requires the vlan to be configured on at least 1 device (port or bridge) so it would have a multicast context. Patch 02 changes br_multicast_host_join to take a bridge multicast context parameter which is passed down from the respective functions, currently it is used for the timer config value only. This set is in preparation for adding all multicast options for vlans.

Thanks,
Nik

Nikolay Aleksandrov (2):
net: bridge: multicast: add mdb context support
net: bridge: multicast: add context support for host-joined groups

 net/bridge/br_mdb.c       | 45 +++++++++++++++++++++++++++++++++++----
 net/bridge/br_multicast.c |  8 +++----
 net/bridge/br_private.h   |  3 ++-
 3 files changed, 47 insertions(+), 9 deletions(-)
Signature · 1 line
2.31.1