mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 01:10:04 +00:00
qede: Fix multicast mac configuration
Driver doesn't accommodate the configuration for max number of multicast mac addresses, in such particular case it leaves the device with improper/invalid multicast configuration state, causing connectivity issues (in lacp bonding like scenarios). Signed-off-by: Manish Chopra <manishc@marvell.com> Signed-off-by: Ariel Elior <aelior@marvell.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
20032b6358
commit
0af67e49b0
1 changed files with 1 additions and 1 deletions
|
@ -1230,7 +1230,7 @@ qede_configure_mcast_filtering(struct net_device *ndev,
|
||||||
netif_addr_lock_bh(ndev);
|
netif_addr_lock_bh(ndev);
|
||||||
|
|
||||||
mc_count = netdev_mc_count(ndev);
|
mc_count = netdev_mc_count(ndev);
|
||||||
if (mc_count < 64) {
|
if (mc_count <= 64) {
|
||||||
netdev_for_each_mc_addr(ha, ndev) {
|
netdev_for_each_mc_addr(ha, ndev) {
|
||||||
ether_addr_copy(temp, ha->addr);
|
ether_addr_copy(temp, ha->addr);
|
||||||
temp += ETH_ALEN;
|
temp += ETH_ALEN;
|
||||||
|
|
Loading…
Reference in a new issue