]> asedeno.scripts.mit.edu Git - linux.git/commit
IB/usnic: Fix locking when unregistering
authorParvi Kaustubhi <pkaustub@cisco.com>
Fri, 8 Feb 2019 21:53:43 +0000 (13:53 -0800)
committerJason Gunthorpe <jgg@mellanox.com>
Fri, 8 Feb 2019 23:21:59 +0000 (16:21 -0700)
commit0c236606490b5b356ac3bb885b6417ce09bce63f
tree70db72f86d263fb459d53765fd1f70e7064dc939
parentc8a7eb554a83214c3d8ee5cb322da8c72810d2dc
IB/usnic: Fix locking when unregistering

Move the call to usnic_ib_device_remove after usnic_ib_ibdev_list_lock has
been released.

Signed-off-by: Parvi Kaustubhi <pkaustub@cisco.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/usnic/usnic_ib_main.c