bridge: mcast: Expose br_multicast_new_group_src()
authorIdo Schimmel <idosch@nvidia.com>
Sat, 10 Dec 2022 14:56:24 +0000 (16:56 +0200)
committerJakub Kicinski <kuba@kernel.org>
Mon, 12 Dec 2022 23:33:37 +0000 (15:33 -0800)
commitfd0c696164cf13ae0128f14209e2dbfcd86584b8
tree6f64ce7606025c527256b274924ccdbc95d9e4ad
parent160dd93114ddd31ed2b6290a7495d53717b79cf8
bridge: mcast: Expose br_multicast_new_group_src()

Currently, new group source entries are only created in response to
received Membership Reports. Subsequent patches are going to allow user
space to install (*, G) entries with a source list.

As a preparatory step, expose br_multicast_new_group_src() so that it
could later be invoked from the MDB code (i.e., br_mdb.c) that handles
RTM_NEWMDB messages.

Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Acked-by: Nikolay Aleksandrov <razor@blackwall.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/bridge/br_multicast.c
net/bridge/br_private.h