diff options
author | Nikolay Aleksandrov <nikolay@nvidia.com> | 2021-07-19 20:06:25 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-07-20 05:41:19 -0700 |
commit | adc47037a7d5c8f89ca428bd840c83ab7b62730c (patch) | |
tree | 02ca5c7d3ef7cd314a40f7dafcb7b499bb7233ef /net/bridge/br_private_mcast_eht.h | |
parent | d3d065c0032bf7043401e34cec2114fc553f919e (diff) | |
download | linux-adc47037a7d5c8f89ca428bd840c83ab7b62730c.tar.gz linux-adc47037a7d5c8f89ca428bd840c83ab7b62730c.tar.bz2 linux-adc47037a7d5c8f89ca428bd840c83ab7b62730c.zip |
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.h | 3 |
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, |