[Bridge] [PATCH net-next] net: bridge: update multicast stats from maybe_deliver()

David Miller davem at davemloft.net
Thu Apr 4 17:50:26 UTC 2019

From: Pablo Neira Ayuso <pablo at netfilter.org>
Date: Thu,  4 Apr 2019 13:56:38 +0200

> Simplify this code by updating bridge multicast stats from
> maybe_deliver().
> Note that commit 6db6f0eae605 ("bridge: multicast to unicast"), in case
> the port flag BR_MULTICAST_TO_UNICAST is set, never updates the previous
> port pointer, therefore it is always going to be different from the
> existing port in this deduplicated list iteration.
> Signed-off-by: Pablo Neira Ayuso <pablo at netfilter.org>


More information about the Bridge mailing list