[Bridge] [PATCH net-next] net: bridge: mcast: remove unreachable EHT code
Nikolay Aleksandrov
nikolay at nvidia.com
Mon Mar 15 15:44:19 UTC 2021
On 15/03/2021 17:38, Nikolay Aleksandrov wrote:
> From: Nikolay Aleksandrov <nikolay at nvidia.com>
>
> In the initial EHT versions there were common functions which handled
> allow/block messages for both INCLUDE and EXCLUDE modes, but later they
> were separated. It seems I've left some common code which cannot be
> reached because the filter mode is checked before calling the respective
> functions, i.e. the host filter is always in EXCLUDE mode when using
> __eht_allow_excl() and __eht_block_excl() thus we can drop the host_excl
> checks inside and simplify the code a bit.
>
> Signed-off-by: Nikolay Aleksandrov <nikolay at nvidia.com>
> ---
> net/bridge/br_multicast_eht.c | 54 ++++++++++-------------------------
> 1 file changed, 15 insertions(+), 39 deletions(-)
>
Oh well, sent the wrong patch version. I'll send the proper version as v2.
Self-NAK and sorry for the noise
More information about the Bridge
mailing list