]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
iavf: Fix failure to exit out from last all-multicast mode
authorPiotr Marczak <piotr.marczak@intel.com>
Fri, 4 Jun 2021 16:48:56 +0000 (09:48 -0700)
committerAndrea Righi <andrea.righi@canonical.com>
Tue, 7 Dec 2021 06:34:09 +0000 (07:34 +0100)
commita16735da6a15666aea6276aa9de9d3170fc37ba5
tree1776692bd94ddbe8f436bcdf2d5b5c05bc05bf92
parent37a8b6c862a513bb08c55fe3e9c97de719826910
iavf: Fix failure to exit out from last all-multicast mode

BugLink: https://bugs.launchpad.net/bugs/1952579
[ Upstream commit 8905072a192fffe9389255489db250c73ecab008 ]

The driver could only quit allmulti when allmulti and promisc modes are
turn on at the same time. If promisc had been off there was no way to turn
off allmulti mode.
The patch corrects this behavior. Switching allmulti does not depends on
promisc state mode anymore

Fixes: f42a5c74da99 ("i40e: Add allmulti support for the VF")
Signed-off-by: Piotr Marczak <piotr.marczak@intel.com>
Tested-by: Tony Brelinski <tony.brelinski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
drivers/net/ethernet/intel/iavf/iavf_main.c