summaryrefslogtreecommitdiff
path: root/net/bridge/br_private_mcast_eht.h
diff options
context:
space:
mode:
authorNikolay Aleksandrov <nikolay@nvidia.com>2021-07-19 20:06:25 +0300
committerDavid S. Miller <davem@davemloft.net>2021-07-20 15:41:19 +0300
commitadc47037a7d5c8f89ca428bd840c83ab7b62730c (patch)
tree02ca5c7d3ef7cd314a40f7dafcb7b499bb7233ef /net/bridge/br_private_mcast_eht.h
parentd3d065c0032bf7043401e34cec2114fc553f919e (diff)
downloadlinux-adc47037a7d5c8f89ca428bd840c83ab7b62730c.tar.xz
net: bridge: multicast: use multicast contexts instead of bridge or port
Pass multicast context pointers to multicast functions instead of bridge/port. This would make it easier later to switch these contexts to their per-vlan versions. The patch is basically search and replace, no functional changes. Signed-off-by: Nikolay Aleksandrov <nikolay@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/br_private_mcast_eht.h')
-rw-r--r--net/bridge/br_private_mcast_eht.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/bridge/br_private_mcast_eht.h b/net/bridge/br_private_mcast_eht.h
index f89049f4892c..adf82a05515a 100644
--- a/net/bridge/br_private_mcast_eht.h
+++ b/net/bridge/br_private_mcast_eht.h
@@ -51,7 +51,8 @@ struct net_bridge_group_eht_set {
#ifdef CONFIG_BRIDGE_IGMP_SNOOPING
void br_multicast_eht_clean_sets(struct net_bridge_port_group *pg);
-bool br_multicast_eht_handle(struct net_bridge_port_group *pg,
+bool br_multicast_eht_handle(const struct net_bridge_mcast *brmctx,
+ struct net_bridge_port_group *pg,
void *h_addr,
void *srcs,
u32 nsrcs,