History log of /freebsd/usr.sbin/ctld/iscsi.hh (Results 1 – 3 of 3)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 16459743 02-Sep-2025 John Baldwin <jhb@FreeBSD.org>

ctld: Add missing initializers for several class members

These fields all need to be explicitly initialized with zeroes. Prior
to the conversion to C++ these fields were zeroed by calloc().

This w

ctld: Add missing initializers for several class members

These fields all need to be explicitly initialized with zeroes. Prior
to the conversion to C++ these fields were zeroed by calloc().

This worked for me in earlier testing as my test boxes had
MALLOC_PRODUCTION enabled in make.conf.

PR: 289115
Reported by: Slawa Olhovchenkov <slw zxy.spb.ru>
Fixes: eb0dc901a541 ("ctld: Convert struct auth_group to a C++ class")
Fixes: 6acc7afa34aa ("ctld: Convert struct port to a hierarchy of C++ classes")
Fixes: 2bb9180bb5d0 ("ctld: Convert struct target to a C++ class")
Fixes: ed076901ec80 ("ctld: Convert struct ctld_connection to a C++ class")
Sponsored by: Chelsio Communications

show more ...


Revision tags: release/13.5.0-p3, release/14.2.0-p5, release/14.3.0-p2
# 40484d31 06-Aug-2025 John Baldwin <jhb@FreeBSD.org>

ctld: Use freebsd::fd_up to manage the lifecycle of accepted sockets

Explicitly hand off ownership of accepted sockets to the
portal::handle_connection method.

Reviewed by: asomers
Sponsored by: Ch

ctld: Use freebsd::fd_up to manage the lifecycle of accepted sockets

Explicitly hand off ownership of accepted sockets to the
portal::handle_connection method.

Reviewed by: asomers
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D51729

show more ...


# 7e844dca 06-Aug-2025 John Baldwin <jhb@FreeBSD.org>

ctld: Add abstractions to support multiple target protocols

This is a prerequisite for adding NVMe over Fabrics support.

Convert portal_group, portal_group_port, and target into abstract
classes wi

ctld: Add abstractions to support multiple target protocols

This is a prerequisite for adding NVMe over Fabrics support.

Convert portal_group, portal_group_port, and target into abstract
classes with virtual methods to support protocol-specific methods.

Add new iscsi_portal_group, iscsi_port, iscsi_portal and iscsi_target
subclasses in a new iscsi.cc file and move some iSCSI-specific logic
there. Rename ctld_connection to iscsi_connection and move it to a
new iscsi.hh header. Move iscsi_connection methods out of ctld.cc and
kernel.cc into iscsi.cc.

Reviewed by: imp
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D48772

show more ...