diff options
author | Bart Van Assche <bvanassche@acm.org> | 2019-04-02 22:58:15 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-04-13 03:20:06 +0300 |
commit | 4b3766ec0e1840f45bc9238e7e749922bdcb7016 (patch) | |
tree | 744c05b16d394c9b0c8cef665fe7411dbbcb4a3b /include/keys | |
parent | 2e39f1c9064d54e51e939ce5f3cf34527ef5603f (diff) | |
download | linux-4b3766ec0e1840f45bc9238e7e749922bdcb7016.tar.xz |
scsi: target/iscsi: Make sure PDU processing continues if parsing a command fails
Currently the iSCSI target driver sends a CHECK CONDITION code back to the
initiator if the immediate data buffer is too large but it does not discard
that immediate data buffer. The result is that the iSCSI target driver
attempts to parse the immediate data itself as iSCSI PDUs and that all
further iSCSI communication fails. Fix this by receiving and discarding too
large immediate data buffers.
Cc: Mike Christie <mchristi@redhat.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Hannes Reinecke <hare@suse.de>
Cc: Nicholas Bellinger <nab@linux-iscsi.org>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/keys')
0 files changed, 0 insertions, 0 deletions