net: bridge: mcast: install S,G entries automatically based on reports
This patch adds support for automatic install of S,G mdb entries based on the port group's source list and the source entry's timer. Once installed the S,G will be used when forwarding packets if the approprate multicast/mld versions are set. A new source flag called BR_SGRP_F_INSTALLED denotes if the source has a forwarding mdb entry installed. Signed-off-by: Nikolay Aleksandrov <nikolay@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
085b53c8be
commit
b08123684b
@@ -218,6 +218,7 @@ struct net_bridge_fdb_entry {
|
||||
|
||||
#define BR_SGRP_F_DELETE BIT(0)
|
||||
#define BR_SGRP_F_SEND BIT(1)
|
||||
#define BR_SGRP_F_INSTALLED BIT(2)
|
||||
|
||||
struct net_bridge_mcast_gc {
|
||||
struct hlist_node gc_node;
|
||||
|
||||
Reference in New Issue
Block a user