freebsd-dev/sys/dev/iscsi
John Baldwin 4f0f5bf995 iscsi: Validate DataSN values in Data-In PDUs in the initiator.
As is done in the target, require that DataSN values are consecutive
and in-order.  If an out of order Data-In PDU is received, force a
session reconnect.  In addition, when a SCSI Response PDU is received,
verify that the ExpDataSN field matches the count of Data-In PDUs
received for this command.  If not, force a session reconnect.

Reviewed by:	mav
Sponsored by:	Chelsio Communications
Differential Revision:	https://reviews.freebsd.org/D31594
2021-08-24 14:58:34 -07:00
..
icl_conn_if.m Drop "All rights reserved" from all my stuff. This includes 2020-10-28 13:46:11 +00:00
icl_soft_proxy.c Drop "All rights reserved" from all my stuff. This includes 2020-10-28 13:46:11 +00:00
icl_soft.c iscsi: Remove icl_soft-only fields from struct icl_conn. 2021-08-05 12:05:30 -07:00
icl_wrappers.h Drop "All rights reserved" from all my stuff. This includes 2020-10-28 13:46:11 +00:00
icl.c Drop "All rights reserved" from all my stuff. This includes 2020-10-28 13:46:11 +00:00
icl.h iscsi: Teach the iSCSI stack about "large" received PDUs. 2021-08-18 10:56:28 -07:00
iscsi_ioctl.h Drop "All rights reserved" from all my stuff. This includes 2020-10-28 13:46:11 +00:00
iscsi_proto.h Drop "All rights reserved" from all my stuff. This includes 2020-10-28 13:46:11 +00:00
iscsi.c iscsi: Validate DataSN values in Data-In PDUs in the initiator. 2021-08-24 14:58:34 -07:00
iscsi.h iscsi: Validate DataSN values in Data-In PDUs in the initiator. 2021-08-24 14:58:34 -07:00