summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/ulp/isert/ib_isert.h
diff options
context:
space:
mode:
authorJenny Derzhavetz2016-02-24 18:23:59 +0100
committerNicholas Bellinger2016-03-11 06:48:31 +0100
commitaea92980601f7ddfcb3c54caa53a43726314fe46 (patch)
treed586c7ba9a6989499944dfd436d518e202e86875 /drivers/infiniband/ulp/isert/ib_isert.h
parentiser-target: Fix identification of login rx descriptor type (diff)
downloadkernel-qcow2-linux-aea92980601f7ddfcb3c54caa53a43726314fe46.tar.gz
kernel-qcow2-linux-aea92980601f7ddfcb3c54caa53a43726314fe46.tar.xz
kernel-qcow2-linux-aea92980601f7ddfcb3c54caa53a43726314fe46.zip
iser-target: Add new state ISER_CONN_BOUND to isert_conn
We need an indication that isert_conn->iscsi_conn binding has happened so we'll know not to invoke a connection reinstatement on an unbound connection which will lead to a bogus isert_conn->conn dereferece. Signed-off-by: Jenny Derzhavetz <jennyf@mellanox.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>
Diffstat (limited to 'drivers/infiniband/ulp/isert/ib_isert.h')
-rw-r--r--drivers/infiniband/ulp/isert/ib_isert.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/ulp/isert/ib_isert.h b/drivers/infiniband/ulp/isert/ib_isert.h
index 8d50453eef66..b80ec44fb4e1 100644
--- a/drivers/infiniband/ulp/isert/ib_isert.h
+++ b/drivers/infiniband/ulp/isert/ib_isert.h
@@ -84,6 +84,7 @@ enum iser_ib_op_code {
enum iser_conn_state {
ISER_CONN_INIT,
ISER_CONN_UP,
+ ISER_CONN_BOUND,
ISER_CONN_FULL_FEATURE,
ISER_CONN_TERMINATING,
ISER_CONN_DOWN,