diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2018-02-12 00:10:28 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-02-12 04:37:04 +0100 |
commit | 7ac8ff95f48cbfa609a060fd6a1e361dd62feeb3 (patch) | |
tree | 17d01d03f49fb628a0ed88bfc9778fb916f6c142 /net/bridge/br_sysfs_if.c | |
parent | ptr_ring: prevent integer overflow when calculating size (diff) | |
download | linux-7ac8ff95f48cbfa609a060fd6a1e361dd62feeb3.tar.xz linux-7ac8ff95f48cbfa609a060fd6a1e361dd62feeb3.zip |
mvpp2: fix multicast address filter
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@redhat.com>
Cc: stable@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/br_sysfs_if.c')
0 files changed, 0 insertions, 0 deletions