net: bridge: mcast: add support for blocked port groups
When excluding S,G entries we need a way to block a particular S,G,port. The new port group flag is managed based on the source's timer as per RFCs 3376 and 3810. When a source expires and its port group is in EXCLUDE mode, it will be blocked. 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
8266a0491e
commit
9116ffbf1d
@@ -214,6 +214,7 @@ struct net_bridge_fdb_entry {
|
||||
#define MDB_PG_FLAGS_OFFLOAD BIT(1)
|
||||
#define MDB_PG_FLAGS_FAST_LEAVE BIT(2)
|
||||
#define MDB_PG_FLAGS_STAR_EXCL BIT(3)
|
||||
#define MDB_PG_FLAGS_BLOCKED BIT(4)
|
||||
|
||||
#define PG_SRC_ENT_LIMIT 32
|
||||
|
||||
|
Reference in New Issue
Block a user