diff options
author | Nikolay Aleksandrov <nikolay@nvidia.com> | 2021-08-20 14:42:54 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-08-20 16:00:35 +0200 |
commit | a53581d5559eaacaac1b4aed8e2f22c40efa5acc (patch) | |
tree | b3bf9fae82830aa06b5e9deedbf983a66206b65f /net/bridge/br_private.h | |
parent | octeontx2-pf: Add check for non zero mcam flows (diff) | |
download | linux-a53581d5559eaacaac1b4aed8e2f22c40efa5acc.tar.xz linux-a53581d5559eaacaac1b4aed8e2f22c40efa5acc.zip |
net: bridge: mcast: br_multicast_set_port_router takes multicast context as argument
Change br_multicast_set_port_router to take port multicast context as
its first argument so we can later use it to control port/vlan mcast
router option.
Signed-off-by: Nikolay Aleksandrov <nikolay@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/br_private.h')
-rw-r--r-- | net/bridge/br_private.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/bridge/br_private.h b/net/bridge/br_private.h index 21b292eb2b3e..fcc0fcf44a95 100644 --- a/net/bridge/br_private.h +++ b/net/bridge/br_private.h @@ -879,7 +879,8 @@ void br_multicast_flood(struct net_bridge_mdb_entry *mdst, struct sk_buff *skb, struct net_bridge_mcast *brmctx, bool local_rcv, bool local_orig); int br_multicast_set_router(struct net_bridge_mcast *brmctx, unsigned long val); -int br_multicast_set_port_router(struct net_bridge_port *p, unsigned long val); +int br_multicast_set_port_router(struct net_bridge_mcast_port *pmctx, + unsigned long val); int br_multicast_toggle(struct net_bridge *br, unsigned long val, struct netlink_ext_ack *extack); int br_multicast_set_querier(struct net_bridge_mcast *brmctx, unsigned long val); |