[Intel-wired-lan] [PATCH] ixgbe: fix possible race in reset subtask

Bowers, AndrewX andrewx.bowers at intel.com
Fri Jun 1 17:25:56 UTC 2018


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Tony Nguyen
> Sent: Wednesday, May 30, 2018 9:05 AM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH] ixgbe: fix possible race in reset subtask
> 
> Similar to ixgbevf, the same possibility for race exists. Extend the RTNL lock in
> ixgbe_reset_subtask() to protect the state bits; 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.
> 
> Signed-off-by: Tony Nguyen <anthony.l.nguyen at intel.com>
> ---
>  drivers/net/ethernet/intel/ixgbe/ixgbe_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