[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180211.223751.2130845243634593943.davem@davemloft.net>
Date: Sun, 11 Feb 2018 22:37:51 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: mpatocka@...hat.com
Cc: mw@...ihalf.com, rmk@...linux.org.uk,
linux-arm-kernel@...ts.infradead.org, netdev@...r.kernel.org
Subject: Re: [PATCH] mvpp2: fix multicast address filter
From: Mikulas Patocka <mpatocka@...hat.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@...hat.com>
Applied, thanks.
Powered by blists - more mailing lists