diff options
author | Krishnamraju Eraparaju <krishna2@chelsio.com> | 2019-10-07 15:56:27 +0530 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2019-10-18 14:40:01 -0400 |
commit | 54102dd410b037a4d7984e6a5826fb212c2f8aca (patch) | |
tree | ce9f4e4761eb18aa99a49c9219dc5090850ff6cd /lib | |
parent | iw_cxgb4: fix ECN check on the passive accept (diff) | |
download | linux-dev-54102dd410b037a4d7984e6a5826fb212c2f8aca.tar.xz linux-dev-54102dd410b037a4d7984e6a5826fb212c2f8aca.zip |
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: 922a8e9fb2e0 ("RDMA: iWARP Connection Manager.")
Signed-off-by: Krishnamraju Eraparaju <krishna2@chelsio.com>
Reviewed-by: Bernard Metzler <bmt@zurich.ibm.com>
Link: https://lore.kernel.org/r/20191007102627.12568-1-krishna2@chelsio.com
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions