HomeFreeBSD

libiscsiutil: Change keys_load/save to operate on data buffers.

Description

libiscsiutil: Change keys_load/save to operate on data buffers.

This will be used in future changes to support large text requests
spanning multiple PDUs.

Provide wrapper functions keys_load/save_pdu that operate use a PDU's
data buffer.

Reviewed by: mav
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D33547

(cherry picked from commit 25700db36640b1538ac91f893955a4f1a4167f63)

Details

Provenance
jhbAuthored on Dec 22 2021, 6:42 PM
Reviewer
mav
Differential Revision
D33547: libiscsiutil: Change keys_load/save to operate on data buffers.
Parents
rGa96064b669fd: libiscsiutil: Fix a memory leak with negotiation keys.
Branches
Unknown
Tags
Unknown