HomeFreeBSD

iscsi: Move the maximum data segment limits into 'struct icl_conn'.

Description

iscsi: Move the maximum data segment limits into 'struct icl_conn'.

This fixes a few bugs in iSCSI backends where the backends were using
the limits they advertised initially during the login phase as the
final values instead of the values negotiated with the other end.

Reported by: Jithesh Arakkan @ Chelsio
Reviewed by: mav
Differential Revision: https://reviews.freebsd.org/D30271

(cherry picked from commit 0cc7d64a2a37533afe03d2b640dc107be41b5f56)

Details

Provenance
jhbAuthored on May 20 2021, 4:59 PM
Reviewer
mav
Differential Revision
D30271: iscsi: Move the maximum data segment limits into 'struct icl_conn'.
Parents
rGb77045f1ca6a: iscsi: Always free a cdw before its associated ctl_io.
Branches
Unknown
Tags
Unknown