]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
IB/iser: Collapse cleanup and disconnect handlers
authorAriel Nahum <arieln@mellanox.com>
Sun, 7 Dec 2014 14:09:54 +0000 (16:09 +0200)
committerRoland Dreier <roland@purestorage.com>
Tue, 16 Dec 2014 02:11:44 +0000 (18:11 -0800)
commit5426b1711fd006cb0574a2a24bf738cc38d5220d
tree0f409edd9037a1528a81b0d741faa60c23c283cb
parent16df2a26fb3efb52f066098cdbd0f81c8378d861
IB/iser: Collapse cleanup and disconnect handlers

No real need to wait for TIMEWAIT_EXIT before we destroy the RDMA
resources (also TIMEAWAIT_EXIT is not guarenteed to always arrive).  As
for the cma_id, only destroy it if the state is not DOWN where in this
case, conn_release is already running and we don't want to compete.

Signed-off-by: Ariel Nahum <arieln@mellanox.com>
Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/ulp/iser/iser_verbs.c