linux_dsm_epyc7002/drivers/infiniband/ulp
Sagi Grimberg 954f23722b iscsi,iser-target: Initiate termination only once
Since commit 0fc4ea701f ("Target/iser: Don't put isert_conn inside
disconnected handler") we put the conn kref in isert_wait_conn, so we
need .wait_conn to be invoked also in the error path.

Introduce call to isert_conn_terminate (called under lock)
which transitions the connection state to TERMINATING and calls
rdma_disconnect. If the state is already teminating, just bail
out back (temination started).

Also, make sure to destroy the connection when getting a connect
error event if didn't get to connected (state UP). Same for the
handling of REJECTED and UNREACHABLE cma events.

Squashed:

iscsi-target: Add call to wait_conn in establishment error flow

Reported-by: Slava Shwartsman <valyushash@gmail.com>
Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Cc: <stable@vger.kernel.org> # v3.10+
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
2014-12-12 22:55:22 -08:00
..
ipoib net: better IFF_XMIT_DST_RELEASE support 2014-10-07 13:22:11 -04:00
iser IB/mlx5, iser, isert: Add Signature API additions 2014-10-09 00:10:53 -07:00
isert iscsi,iser-target: Initiate termination only once 2014-12-12 22:55:22 -08:00
srp IB/srp: Fix return value check in srp_init_module() 2014-08-14 08:57:54 -07:00
srpt srp-target: Retry when QP creation fails with ENOMEM 2014-10-28 13:55:08 -07:00
Makefile IB: Allow build of hw/ and ulp/ subdirectories independently 2014-06-02 14:51:12 -07:00