summaryrefslogtreecommitdiffstats
path: root/lib/iovec.c
diff options
context:
space:
mode:
authorNicholas Bellinger <nab@linux-iscsi.org>2014-06-20 10:59:57 -0700
committerNicholas Bellinger <nab@linux-iscsi.org>2014-06-27 11:47:57 -0700
commit97c99b47ac58bacb7c09e1f47d5d184434f6b06a (patch)
treecdbafbf0d3bddad22937229fc4e329b77588718b /lib/iovec.c
parentb43f1886e4d3ea3f68665eaea96526ccdd53741d (diff)
downloadblackbird-op-linux-97c99b47ac58bacb7c09e1f47d5d184434f6b06a.tar.gz
blackbird-op-linux-97c99b47ac58bacb7c09e1f47d5d184434f6b06a.zip
iscsi-target: Avoid rejecting incorrect ITT for Data-Out
This patch changes iscsit_check_dataout_hdr() to dump the incoming Data-Out payload when the received ITT is not associated with a WRITE, instead of calling iscsit_reject_cmd() for the non WRITE ITT descriptor. This addresses a bug where an initiator sending an Data-Out for an ITT associated with a READ would end up generating a reject for the READ, eventually resulting in list corruption. Reported-by: Santosh Kulkarni <santosh.kulkarni@calsoftinc.com> Reported-by: Arshad Hussain <arshad.hussain@calsoftinc.com> Cc: stable@vger.kernel.org # 3.10+ Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'lib/iovec.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud