summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libfc
diff options
context:
space:
mode:
authorHannes Reinecke2016-10-13 15:10:52 +0200
committerMartin K. Petersen2016-11-08 23:29:52 +0100
commit53db8fa8a3b37d076f89bac67095e1381a2fb19a (patch)
treea27bd41bd094d1ac7ad8390ff6b4c91344b36206 /drivers/scsi/libfc
parentscsi: libfc: don't fail sequence abort for completed exchanges (diff)
downloadkernel-qcow2-linux-53db8fa8a3b37d076f89bac67095e1381a2fb19a.tar.gz
kernel-qcow2-linux-53db8fa8a3b37d076f89bac67095e1381a2fb19a.tar.xz
kernel-qcow2-linux-53db8fa8a3b37d076f89bac67095e1381a2fb19a.zip
scsi: libfc: Do not drop out-of-order frames
When receiving packets from the network we cannot guarantee any frame ordering, so we should be receiving all valid frames and let the upper layers deal with it. Signed-off-by: Hannes Reinecke <hare@suse.com> Acked-by: Johannes Thumshirn <jth@kernel.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/libfc')
-rw-r--r--drivers/scsi/libfc/fc_exch.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/scsi/libfc/fc_exch.c b/drivers/scsi/libfc/fc_exch.c
index ca7d947dc427..44feffa2ee25 100644
--- a/drivers/scsi/libfc/fc_exch.c
+++ b/drivers/scsi/libfc/fc_exch.c
@@ -1597,9 +1597,6 @@ static void fc_exch_recv_seq_resp(struct fc_exch_mgr *mp, struct fc_frame *fp)
if (fc_sof_is_init(sof)) {
sp->ssb_stat |= SSB_ST_RESP;
sp->id = fh->fh_seq_id;
- } else if (sp->id != fh->fh_seq_id) {
- atomic_inc(&mp->stats.seq_not_found);
- goto rel;
}
f_ctl = ntoh24(fh->fh_f_ctl);