freebsd-nq/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
icl_soft_proxy.c
icl_soft.c iscsi: Remove icl_soft-only fields from struct icl_conn. 2021-08-05 12:05:30 -07:00
icl_wrappers.h
icl.c
icl.h iscsi: Teach the iSCSI stack about "large" received PDUs. 2021-08-18 10:56:28 -07:00
iscsi_ioctl.h
iscsi_proto.h
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