[Bridge] [PATCH net] net: bridge: always clear mcast matching struct on reports and leaves

David Miller davem at davemloft.net
Fri Apr 5 00:53:26 UTC 2019

From: Nikolay Aleksandrov <nikolay at cumulusnetworks.com>
Date: Wed,  3 Apr 2019 23:27:24 +0300

> We need to be careful and always zero the whole br_ip struct when it is
> used for matching since the rhashtable change. This patch fixes all the
> places which didn't properly clear it which in turn might've caused
> mismatches.
> Thanks for the great bug report with reproducing steps and bisection.
> Reported-by: liam.mcbirnie at boeing.com
> Fixes: 19e3a9c90c53 ("net: bridge: convert multicast to generic rhashtable")
> Signed-off-by: Nikolay Aleksandrov <nikolay at cumulusnetworks.com>

Applied and queued up for -stable.

> I will cook a selftest for this as well.

Thanks in advance for this, that's great.

More information about the Bridge mailing list