diff options
author | Dmitry Bogdanov <dmitry.bogdanov@aquantia.com> | 2018-08-08 14:06:32 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-08-22 07:46:09 +0200 |
commit | 50670d158cfa16c2fad5e3c81cf57a0777d450a7 (patch) | |
tree | 3822b225496a5e03054847716ba4bb996f79f5dd /sound/pci/hda/patch_conexant.c | |
parent | b3fb9398723238f39e3ff0c9c7f0d1cadf04738a (diff) |
net: aquantia: Fix IFF_ALLMULTI flag functionality
[ Upstream commit 11ba961c916127651e12af6cad3891f8aeb25aa9 ]
It was noticed that NIC always pass all multicast traffic to the host
regardless of IFF_ALLMULTI flag on the interface.
The rule in MC Filter Table in NIC, that is configured to accept any
multicast packets, is turning on if IFF_MULTICAST flag is set on the
interface. It leads to passing all multicast traffic to the host.
This fix changes the condition to turn on that rule by checking
IFF_ALLMULTI flag as it should.
Fixes: b21f502f84be ("net:ethernet:aquantia: Fix for multicast filter handling.")
Signed-off-by: Dmitry Bogdanov <dmitry.bogdanov@aquantia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound/pci/hda/patch_conexant.c')
0 files changed, 0 insertions, 0 deletions