diff options
author | Manish Chopra <manishc@marvell.com> | 2019-12-12 06:49:28 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-12-12 11:08:36 -0800 |
commit | 0af67e49b018e7280a4227bfe7b6005bc9d3e442 (patch) | |
tree | 8be0324bcce0ae391e11b0aa5195b9b598b63ff1 /drivers/net | |
parent | 20032b63586ac6c28c936dff696981159913a13f (diff) | |
download | linux-0af67e49b018e7280a4227bfe7b6005bc9d3e442.tar.bz2 |
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>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/ethernet/qlogic/qede/qede_filter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/qlogic/qede/qede_filter.c b/drivers/net/ethernet/qlogic/qede/qede_filter.c index d6cfe4ffbaf3..d1ce4531d01a 100644 --- a/drivers/net/ethernet/qlogic/qede/qede_filter.c +++ b/drivers/net/ethernet/qlogic/qede/qede_filter.c @@ -1230,7 +1230,7 @@ qede_configure_mcast_filtering(struct net_device *ndev, netif_addr_lock_bh(ndev); mc_count = netdev_mc_count(ndev); - if (mc_count < 64) { + if (mc_count <= 64) { netdev_for_each_mc_addr(ha, ndev) { ether_addr_copy(temp, ha->addr); temp += ETH_ALEN; |