summaryrefslogtreecommitdiff
path: root/net/bridge/br_mdb.c
diff options
context:
space:
mode:
authorNikolay Aleksandrov <nikolay@nvidia.com>2021-07-21 17:01:27 +0300
committerDavid S. Miller <davem@davemloft.net>2021-07-22 00:34:47 +0300
commit58d913a32664fae5ac2ccd9a9c23b8e7037df740 (patch)
treeb1ce4e61eab0c694ca587ffb4395284feeef034b /net/bridge/br_mdb.c
parent6567cb438a51016f9f2152cb966f5715dc3c3c7b (diff)
downloadlinux-58d913a32664fae5ac2ccd9a9c23b8e7037df740.tar.xz
net: bridge: multicast: add context support for host-joined groups
Adding bridge multicast context support for host-joined groups is easy because we only need the proper timer value. We pass the already chosen context and use its timer value. Signed-off-by: Nikolay Aleksandrov <nikolay@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/br_mdb.c')
-rw-r--r--net/bridge/br_mdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bridge/br_mdb.c b/net/bridge/br_mdb.c
index 7b6c3b91d272..25d690b96cec 100644
--- a/net/bridge/br_mdb.c
+++ b/net/bridge/br_mdb.c
@@ -1105,7 +1105,7 @@ static int br_mdb_add_group(struct net_bridge *br, struct net_bridge_port *port,
return -EEXIST;
}
- br_multicast_host_join(mp, false);
+ br_multicast_host_join(brmctx, mp, false);
br_mdb_notify(br->dev, mp, NULL, RTM_NEWMDB);
return 0;