]> git.baikalelectronics.ru Git - kernel.git/commit
net: aquantia: correctly handle macvlan and multicast coexistence
authorDmitry Bogdanov <dmitry.bogdanov@aquantia.com>
Fri, 11 Oct 2019 13:45:23 +0000 (13:45 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Oct 2019 00:01:53 +0000 (17:01 -0700)
commit1cdd354599d4506d8ab2dd48bf1ac0291b82a739
treee10b0f7064d0a8907cce0b1ab5e871e8dd8228e7
parente5b501d510989dea3567033c7102e111efc25395
net: aquantia: correctly handle macvlan and multicast coexistence

macvlan and multicast handling is now mixed up.
The explicit issue is that macvlan interface gets broken (no traffic)
after clearing MULTICAST flag on the real interface.

We now do separate logic and consider both ALLMULTI and MULTICAST
flags on the device.

Fixes: 66f2c9b58931 ("net: aquantia: Fix IFF_ALLMULTI flag functionality")
Signed-off-by: Dmitry Bogdanov <dmitry.bogdanov@aquantia.com>
Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/aquantia/atlantic/aq_main.c
drivers/net/ethernet/aquantia/atlantic/aq_nic.c
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c