fcp: Do not interpret check condition as underrun
authorBart Van Assche <bvanassche@acm.org>
Wed, 14 Aug 2013 15:40:49 +0000 (15:40 +0000)
committerRobert Love <robert.w.love@intel.com>
Wed, 4 Sep 2013 20:52:35 +0000 (13:52 -0700)
commit9de99010cbebca4d4343117eff1af9a64d5d4896
tree6bad11ab41ca473e1b28352d0e66eed457e494b8
parent7030fd626129ec4d616784516a462d317c251d39
fcp: Do not interpret check condition as underrun

This patch avoids that the FCoE initiator sends a REC message after
having received a SCSI response with non-zero status and non-zero
DATA IN buffer length.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Cc: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
drivers/scsi/libfc/fc_fcp.c