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, Aug 22, 1:04 AM
Unknown Object (File)
Fri, Aug 21, 8:15 PM
Unknown Object (File)
Fri, Aug 21, 7:57 PM
Unknown Object (File)
Sun, Aug 9, 10:22 AM
Unknown Object (File)
Sun, Aug 9, 10:15 AM
Unknown Object (File)
Sun, Aug 9, 10:13 AM
Unknown Object (File)
Fri, Aug 7, 3:50 PM
Unknown Object (File)
Thu, Aug 6, 2:11 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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 44295
Build 41183: arc lint + arc unit