OSDN Git Service

net: bridge: mcast: when forwarding handle filter mode and blocked flag
authorNikolay Aleksandrov <nikolay@nvidia.com>
Tue, 22 Sep 2020 07:30:27 +0000 (10:30 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Sep 2020 20:24:35 +0000 (13:24 -0700)
commit36cfec73595ccbaf245b8d6ab31dadbff3962346
treeb8eacb013ce1b2c83a1b71897496335ddc28ddbc
parent094b82fd5342fccaf27b1727a55546dc4b32047e
net: bridge: mcast: when forwarding handle filter mode and blocked flag

We need to avoid forwarding to ports in MCAST_INCLUDE filter mode when the
mdst entry is a *,G or when the port has the blocked flag.

Signed-off-by: Nikolay Aleksandrov <nikolay@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_forward.c