Re: [PATCH for-next v3 1/2] IB/usnic: Fix locking when unregistering

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Feb 08, 2019 at 01:53:43PM -0800, Parvi Kaustubhi wrote:
> Move the call to usnic_ib_device_remove after usnic_ib_ibdev_list_lock
> has been released.
> 
> Signed-off-by: Parvi Kaustubhi <pkaustub@xxxxxxxxx>
> ---
> Changelog:
> 
> v2->v3:
> * Jason: drivers should not hold any locks while calling ib_unregister_device()
> * Jason: use https://github.com/jgunthorpe/linux/commits/device_locking_cleanup
> 
> v1->v2:
> * Have notifier blocks in usnic_ib_dev instead of using workqueue to defer
> event handling.
> ---
>  drivers/infiniband/hw/usnic/usnic_ib_main.c | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)

Applied to for-next, thanks

Jason



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux