]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerSasha Levin <sasha.levin@oracle.com>
Mon, 18 Apr 2016 12:50:53 +0000 (08:50 -0400)
commit82ba90c00ba7e4ffd31a1ad8a5ed224c8e6f3d37
tree30c677e84df55b7aabea364123b4675449f1cf34
parent3c6961458165c0ec909d68191bff4de7bdf50549
iser-target: Add new state ISER_CONN_BOUND to isert_conn

[ 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>
drivers/infiniband/ulp/isert/ib_isert.c
drivers/infiniband/ulp/isert/ib_isert.h