[Intel-wired-lan] [PATCH net v5 2/4] ice: Ignore EEXIST when setting promisc mode
G, GurucharanX
gurucharanx.g at intel.com
Tue Aug 16 13:06:33 UTC 2022
> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of
> Grzegorz Siwik
> Sent: Friday, August 12, 2022 6:56 PM
> To: intel-wired-lan at lists.osuosl.org
> Cc: Siwik, Grzegorz <grzegorz.siwik at intel.com>
> Subject: [Intel-wired-lan] [PATCH net v5 2/4] ice: Ignore EEXIST when setting
> promisc mode
>
> Ignore EEXIST error when setting promiscuous mode.
> This fix is needed because the driver could set promiscuous mode when it
> still has not cleared properly.
> Promiscuous mode could be set only once, so setting it second time will be
> rejected.
>
> Fixes: 5eda8afd6bcc ("ice: Add support for PF/VF promiscuous mode")
> Signed-off-by: Grzegorz Siwik <grzegorz.siwik at intel.com>
> Link: https://lore.kernel.org/all/CAK8fFZ7m-
> KR57M_rYX6xZN39K89O=LGooYkKsu6HKt0Bs+x6xQ at mail.gmail.com/
> ---
> v2: Fixed error message when setting same promiscuous mode
> ---
> v3: Fixed style issues, changed to return directly.
> ---
> v4: Fixed problem with patch applying
> ---
> v5: Fixed incorrect title patch issue
> ---
> drivers/net/ethernet/intel/ice/ice_switch.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Tested-by: Gurucharan <gurucharanx.g at intel.com> (A Contingent worker at Intel)
More information about the Intel-wired-lan
mailing list