Nicholas Bellinger d444edc679 iscsi-target: Fix ERL=2 ASYNC_EVENT connection pointer bug
This patch fixes a long-standing bug in iscsit_build_conn_drop_async_message()
where during ERL=2 connection recovery, a bogus conn_p pointer could
end up being used to send the ISCSI_OP_ASYNC_EVENT + DROPPING_CONNECTION
notifying the initiator that cmd->logout_cid has failed.

The bug was manifesting itself as an OOPs in iscsit_allocate_cmd() with
a bogus conn_p pointer in iscsit_build_conn_drop_async_message().

Reported-by: Arshad Hussain <arshad.hussain@calsoftinc.com>
Reported-by: santosh kulkarni <santosh.kulkarni@calsoftinc.com>
Cc: <stable@vger.kernel.org> #3.1+
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
2014-04-07 01:48:52 -07:00
..
2014-02-14 16:13:00 -08:00
2014-02-21 09:55:32 -08:00
2014-02-20 12:46:24 -08:00
2014-03-09 19:27:31 -07:00
2014-02-14 10:32:28 -08:00
2014-01-15 14:51:22 -08:00
2014-03-04 08:41:42 -08:00
2014-03-04 07:55:47 -08:00
2014-01-22 22:24:35 -08:00
2014-02-12 12:28:05 -08:00