diff options
author | Nicholas Bellinger | 2014-02-20 00:32:14 +0100 |
---|---|---|
committer | Nicholas Bellinger | 2014-04-07 10:48:52 +0200 |
commit | d444edc679e7713412f243b792b1f964e5cff1e1 (patch) | |
tree | 741d5b8acb70e1c986df5f2e7d2edc7984ce74d7 /drivers/target/target_core_rd.c | |
parent | Target/iser: Use Fastreg only if device supports signature (diff) | |
download | kernel-qcow2-linux-d444edc679e7713412f243b792b1f964e5cff1e1.tar.gz kernel-qcow2-linux-d444edc679e7713412f243b792b1f964e5cff1e1.tar.xz kernel-qcow2-linux-d444edc679e7713412f243b792b1f964e5cff1e1.zip |
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>
Diffstat (limited to 'drivers/target/target_core_rd.c')
0 files changed, 0 insertions, 0 deletions