diff options
author | Krishnamraju Eraparaju <krishna2@chelsio.com> | 2019-10-07 13:26:27 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2019-10-18 21:40:01 +0300 |
commit | 54102dd410b037a4d7984e6a5826fb212c2f8aca (patch) | |
tree | ce9f4e4761eb18aa99a49c9219dc5090850ff6cd /crypto/echainiv.c | |
parent | 612e0486ad0845c41ac10492e78144f99e326375 (diff) | |
download | linux-54102dd410b037a4d7984e6a5826fb212c2f8aca.tar.xz |
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 'crypto/echainiv.c')
0 files changed, 0 insertions, 0 deletions