aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_vf_lib.c
diff options
context:
space:
mode:
authorBenjamin Mikailenko <[email protected]>2022-08-12 13:25:50 +0000
committerTony Nguyen <[email protected]>2022-08-17 16:30:44 +0000
commit79956b83ed4281c35561c39254558092d96a9ed1 (patch)
treea592cf526dc021c9e4e2c213249e698618512648 /drivers/net/ethernet/intel/ice/ice_vf_lib.c
parentice: Fix clearing of promisc mode with bridge over bond (diff)
downloadkernel-79956b83ed4281c35561c39254558092d96a9ed1.tar.gz
kernel-79956b83ed4281c35561c39254558092d96a9ed1.zip
ice: Ignore error message when setting same promiscuous mode
Commit 1273f89578f2 ("ice: Fix broken IFF_ALLMULTI handling") introduced new checks when setting/clearing promiscuous mode. But if the requested promiscuous mode setting already exists, an -EEXIST error message would be printed. This is incorrect because promiscuous mode is either on/off and shouldn't print an error when the requested configuration is already set. This can happen when removing a bridge with two bonded interfaces and promiscuous most isn't fully cleared from VLAN VSI in hardware. Fix this by ignoring cases where requested promiscuous mode exists. Fixes: 1273f89578f2 ("ice: Fix broken IFF_ALLMULTI handling") Signed-off-by: Benjamin Mikailenko <[email protected]> Signed-off-by: Grzegorz Siwik <[email protected]> Link: https://lore.kernel.org/all/CAK8fFZ7m-KR57M_rYX6xZN39K89O=LGooYkKsu6HKt0Bs+x6xQ@mail.gmail.com/ Tested-by: Gurucharan <[email protected]> (A Contingent worker at Intel) Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_vf_lib.c')
0 files changed, 0 insertions, 0 deletions