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, May 23, 3:52 AM
Unknown Object (File)
Fri, May 22, 10:58 PM
Unknown Object (File)
Fri, May 22, 12:45 PM
Unknown Object (File)
Fri, May 22, 12:45 PM
Unknown Object (File)
Mon, May 18, 11:38 PM
Unknown Object (File)
Sun, May 17, 7:00 AM
Unknown Object (File)
Wed, May 13, 2:06 AM
Unknown Object (File)
Tue, May 12, 4:36 PM
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