Commit 44ce9162 authored by wenglianfa's avatar wenglianfa Committed by Juan Zhou
Browse files

RDMA/hns: Fix the spin_lock and spin_unlock objects are inconsistent

driver inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8LY0D



--------------------------------------------------------------------------

Fix the spin_lock and spin_unlock objects are inconsistent.

Fixes: 431c875e ("RDMA/hns: Fix simultaneous reset and resource deregistration")
Signed-off-by: default avatarwenglianfa <wenglianfa@huawei.com>
parent b3b330d9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1330,5 +1330,5 @@ void hns_roce_free_unfree_umem(struct hns_roce_dev *hr_dev)
		ib_umem_release(pos->umem);
		kvfree(pos);
	}
	spin_unlock(&hr_dev->mtr_unfree_list_lock);
	spin_unlock(&hr_dev->umem_unfree_list_lock);
}