]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iser-target: Add new state ISER_CONN_BOUND to isert_conn
authorJenny Derzhavetz <jennyf@mellanox.com>
Wed, 24 Feb 2016 17:23:59 +0000 (19:23 +0200)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 26 May 2016 22:46:25 +0000 (15:46 -0700)
commit65cd0866d993124bca1db765b0ea6d3a9aee8906
tree759cb145ac197c17fa721f6b1d33ae0999ce4d89
parentb8e49a57fdefb98478534f822d03d376e0de2c52
iser-target: Add new state ISER_CONN_BOUND to isert_conn

Orabug: 23331108

[ Upstream commit aea92980601f7ddfcb3c54caa53a43726314fe46 ]

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>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
(cherry picked from commit 82ba90c00ba7e4ffd31a1ad8a5ed224c8e6f3d37)

Signed-off-by: Dan Duval <dan.duval@oracle.com>
drivers/infiniband/ulp/isert/ib_isert.c
drivers/infiniband/ulp/isert/ib_isert.h