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 /kernel | |
parent | bd8ed4415ff8584ccdd1f61c8d7279dc1f9e623e (diff) |
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 'kernel')
0 files changed, 0 insertions, 0 deletions