]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
committerStefan Bader <stefan.bader@canonical.com>
Tue, 12 Nov 2019 17:46:44 +0000 (18:46 +0100)
commitd1b8e6d0e8842a82862adf625e633922d5c8edec
tree6733d52eeac03d60582f02ede7c3061ee8f1a211
parent8af81f27e8e24e3d058b682f1d6e2e391833ad53
net: aquantia: correctly handle macvlan and multicast coexistence

BugLink: https://bugs.launchpad.net/bugs/1850456
[ Upstream commit 9f051db566da1e8110659ab4ab188af1c2510bb4 ]

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: 11ba961c9161 ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Connor Kuehl <connor.kuehl@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
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