diff options
author | Ido Schimmel <idosch@nvidia.com> | 2022-12-10 15:56:25 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-12-13 00:33:37 +0100 |
commit | 083e353482b4c9b727846643ad6ca7b784dd486b (patch) | |
tree | 30c2facb09e87c4d97b52434f966d527be3ec573 /net/bridge/br_private.h | |
parent | bridge: mcast: Expose br_multicast_new_group_src() (diff) | |
download | linux-083e353482b4c9b727846643ad6ca7b784dd486b.tar.xz linux-083e353482b4c9b727846643ad6ca7b784dd486b.zip |
bridge: mcast: Expose __br_multicast_del_group_src()
Expose __br_multicast_del_group_src() which is symmetric to
br_multicast_new_group_src() and does not remove the installed {S, G}
forwarding entry, unlike br_multicast_del_group_src().
The function will be used in the error path when user space was able to
add a new source entry, but failed to install a corresponding forwarding
entry.
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Acked-by: Nikolay Aleksandrov <razor@blackwall.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to '')
-rw-r--r-- | net/bridge/br_private.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/bridge/br_private.h b/net/bridge/br_private.h index 183de6c57d72..a3db99d79a3d 100644 --- a/net/bridge/br_private.h +++ b/net/bridge/br_private.h @@ -977,6 +977,7 @@ br_multicast_find_group_src(struct net_bridge_port_group *pg, struct br_ip *ip); struct net_bridge_group_src * br_multicast_new_group_src(struct net_bridge_port_group *pg, struct br_ip *src_ip); +void __br_multicast_del_group_src(struct net_bridge_group_src *src); void br_multicast_del_group_src(struct net_bridge_group_src *src, bool fastleave); void br_multicast_ctx_init(struct net_bridge *br, |