From: Nicholas Bellinger Date: Wed, 19 Feb 2014 23:32:14 +0000 (+0000) Subject: iscsi-target: Fix ERL=2 ASYNC_EVENT connection pointer bug X-Git-Tag: v3.15-rc1~12^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d444edc679e7713412f243b792b1f964e5cff1e1;p=pandora-kernel.git 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 Reported-by: santosh kulkarni Cc: #3.1+ Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed