[Intel-wired-lan] [PATCH] ixgbevf: fix possible race in the reset subtask
Bowers, AndrewX
andrewx.bowers at intel.com
Wed May 23 18:46:16 UTC 2018
> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Emil Tantilov
> Sent: Tuesday, May 22, 2018 9:19 AM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH] ixgbevf: fix possible race in the reset
> subtask
>
> Extend the RTNL lock in ixgbevf_reset_subtask() to protect the state bits
> check in addition to the call to ixgbevf_reinit_locked().
>
> This is to make sure that we get the most up-to-date values for the bits and
> avoid a possible race when going down.
>
> Suggested-by: Zhiping du <zhipingdu at tencent.com>
> Signed-off-by: Emil Tantilov <emil.s.tantilov at intel.com>
> ---
> drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
Tested-by: Andrew Bowers <andrewx.bowers at intel.com>
More information about the Intel-wired-lan
mailing list