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)
Wed, Mar 25, 9:57 AM
Unknown Object (File)
Sat, Mar 21, 1:03 PM
Unknown Object (File)
Sat, Mar 21, 7:40 AM
Unknown Object (File)
Mon, Mar 9, 9:50 AM
Unknown Object (File)
Mon, Mar 9, 7:56 AM
Unknown Object (File)
Feb 8 2026, 2:41 PM
Unknown Object (File)
Feb 4 2026, 2:25 AM
Unknown Object (File)
Jan 31 2026, 8:24 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