Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/ixgbevf: fix promiscuous and allmulti
[ upstream commit 21e471abb548f91190479c75da0c28ebc25dec36 ] The configuration of allmulti and promiscuous modes conflicts together. For instance, if we enable promiscuous mode, then enable and disable allmulti, then the promiscuous mode is wrongly disabled. Fix this behavior by: - doing nothing when we set/unset allmulti if promiscuous mode is on - restorting the proper mode (none or allmulti) when we disable promiscuous mode Fixes: 1f4564e ("net/ixgbevf: enable promiscuous mode") Signed-off-by: Olivier Matz <olivier.matz@6wind.com> Acked-by: Wenjun Wu <wenjun1.wu@intel.com>
- Loading branch information