[PATCH] mvpp2: fix multicast address filter
David Miller
davem at davemloft.net
Sun Feb 11 19:37:51 PST 2018
From: Mikulas Patocka <mpatocka at redhat.com>
Date: Sun, 11 Feb 2018 18:10:28 -0500 (EST)
> IPv6 doesn't work on the MacchiatoBIN board. It is caused by broken
> multicast address filter in the mvpp2 driver.
>
> The driver loads doesn't load any multicast entries if "allmulti" is not
> set. This condition should be reversed.
>
> The condition !netdev_mc_empty(dev) is useless (because
> netdev_for_each_mc_addr is nop if the list is empty).
>
> This patch also fixes a possible overflow of the multicast list - if
> mvpp2_prs_mac_da_accept fails, we set the allmulti flag and retry.
>
> Signed-off-by: Mikulas Patocka <mpatocka at redhat.com>
Applied, thanks.
More information about the linux-arm-kernel
mailing list