diff options
author | Igor Russkikh <Igor.Russkikh@aquantia.com> | 2017-08-28 21:52:12 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-29 15:11:44 -0700 |
commit | b21f502f84be082fb63cca8e7ab6eb8f7ee88024 (patch) | |
tree | 44fb2a3f0c48a1a32ab7266e8c785eadf37d2566 /drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c | |
parent | net:ethernet:aquantia: Fix for incorrect speed index. (diff) | |
download | linux-dev-b21f502f84be082fb63cca8e7ab6eb8f7ee88024.tar.xz linux-dev-b21f502f84be082fb63cca8e7ab6eb8f7ee88024.zip |
net:ethernet:aquantia: Fix for multicast filter handling.
Since the HW supports up to 32 multicast filters we should
track count of multicast filters to avoid overflow.
If we attempt to add >32 multicast filter - just set NETIF_ALLMULTI flag
instead.
Fixes: 94f6c9e4cdf6 ("net: ethernet: aquantia: Support for NIC-specific code")
Signed-off-by: Igor Russkikh <Igor.Russkikh@aquantia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c')
0 files changed, 0 insertions, 0 deletions