Page MenuHomeFreeBSD

cfiscsi_done: Free the dummy PDU earlier.
ClosedPublic

Authored by jhb on Feb 4 2022, 10:44 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 15, 9:26 PM
Unknown Object (File)
Mon, Nov 10, 4:26 AM
Unknown Object (File)
Tue, Nov 4, 3:21 AM
Unknown Object (File)
Sat, Nov 1, 12:28 AM
Unknown Object (File)
Fri, Oct 31, 2:34 AM
Unknown Object (File)
Oct 18 2025, 12:45 PM
Unknown Object (File)
Oct 17 2025, 9:41 AM
Unknown Object (File)
Oct 17 2025, 12:05 AM
Subscribers

Details

Summary

The dummy PDU needs to be freed before marking task abortion complete
as otherwise cfiscsi_session_terminate_tasks can return and destroy
the session in another thread before the PDU is freed.

Fixes: 2e8d1a55258d iscsi: Allocate a dummy PDU for the internal nexus reset task.
Sponsored by: Chelsio Communications

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable