diff options
| author | Krishnamraju Eraparaju <[email protected]> | 2019-10-07 10:26:27 +0000 |
|---|---|---|
| committer | Doug Ledford <[email protected]> | 2019-10-18 18:40:01 +0000 |
| commit | 54102dd410b037a4d7984e6a5826fb212c2f8aca (patch) | |
| tree | ce9f4e4761eb18aa99a49c9219dc5090850ff6cd /net/unix/af_unix.c | |
| parent | iw_cxgb4: fix ECN check on the passive accept (diff) | |
| download | kernel-54102dd410b037a4d7984e6a5826fb212c2f8aca.tar.gz kernel-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 <[email protected]>
Reviewed-by: Bernard Metzler <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
