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)
Mon, Nov 25, 12:53 AM
Unknown Object (File)
Mon, Nov 25, 12:53 AM
Unknown Object (File)
Mon, Nov 25, 12:53 AM
Unknown Object (File)
Oct 21 2024, 12:45 PM
Unknown Object (File)
Oct 9 2024, 6:29 PM
Unknown Object (File)
Sep 29 2024, 11:58 AM
Unknown Object (File)
Sep 24 2024, 9:12 AM
Unknown Object (File)
Sep 24 2024, 3:47 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