Skip to content
Commit 54102dd4 authored by Krishnamraju Eraparaju's avatar Krishnamraju Eraparaju Committed by Doug Ledford
Browse files

RDMA/iwcm: move iw_rem_ref() calls out of spinlock



kref release routines usually perform memory release operations,
hence, they should not be called with spinlocks held.
one such case is: SIW kref release routine siw_free_qp(), which
can sleep via vfree() while freeing queue memory.

Hence, all iw_rem_ref() calls in IWCM are moved out of spinlocks.

Fixes: 922a8e9f ("RDMA: iWARP Connection Manager.")
Signed-off-by: default avatarKrishnamraju Eraparaju <krishna2@chelsio.com>
Reviewed-by: default avatarBernard Metzler <bmt@zurich.ibm.com>
Link: https://lore.kernel.org/r/20191007102627.12568-1-krishna2@chelsio.com


Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
parent 612e0486
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment