[Intel-wired-lan] [PATCH S8 15/16] ice: Avoid nested RTNL locking in ice_dis_vsi

Bowers, AndrewX andrewx.bowers at intel.com
Tue Oct 30 22:03:00 UTC 2018


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Anirudh Venkataramanan
> Sent: Friday, October 26, 2018 10:41 AM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH S8 15/16] ice: Avoid nested RTNL locking in
> ice_dis_vsi
> 
> From: Dave Ertman <david.m.ertman at intel.com>
> 
> ice_dis_vsi() performs an rtnl_lock() if it detects a netdev that is running on
> the VSI. In cases where the RTNL lock has already been acquired, a deadlock
> results. Add a boolean to pass to ice_dis_vsi to tell it if the RTNL lock is
> already held.
> 
> Signed-off-by: Dave Ertman <david.m.ertman at intel.com>
> Signed-off-by: Anirudh Venkataramanan
> <anirudh.venkataramanan at intel.com>
> ---
> [Anirudh Venkataramanan <anirudh.venkataramanan at intel.com> cleaned
> up commit message]
> ---
>  drivers/net/ethernet/intel/ice/ice_main.c | 15 ++++++++++-----
>  1 file changed, 10 insertions(+), 5 deletions(-)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>




More information about the Intel-wired-lan mailing list