]> git.karo-electronics.de Git - karo-tx-linux.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)
committerNicholas Bellinger <nab@linux-iscsi.org>
Sat, 5 Mar 2016 07:35:38 +0000 (23:35 -0800)
commiteb2770e67280801419307b464b264b6115339d23
tree51dafc20437e6ac951e6a6fb50179147e604778d
parentb609cc17198fb13563388ebb87a2125d5af4d407
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>
drivers/infiniband/ulp/isert/ib_isert.c
drivers/infiniband/ulp/isert/ib_isert.h