Page MenuHomeFreeBSD

iscsi: Abort data-out tasks queued on a terminating session.
ClosedPublic

Authored by jhb on Sep 9 2021, 6:27 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jan 8, 10:04 PM
Unknown Object (File)
Mon, Jan 6, 3:56 AM
Unknown Object (File)
Dec 11 2024, 7:32 PM
Unknown Object (File)
Nov 25 2024, 5:40 PM
Unknown Object (File)
Nov 23 2024, 12:33 AM
Unknown Object (File)
Nov 20 2024, 10:35 PM
Unknown Object (File)
Nov 20 2024, 8:59 AM
Unknown Object (File)
Nov 14 2024, 9:09 PM
Subscribers

Details

Summary

cfiscsi_datamove_out() can race with cfiscsi_session_terminate_tasks()
and enqueue a new task after the latter function has aborted existing
tasks. This could result in a deadlock as
cfiscsi_session_terminate_tasks() waited forever for this task to
complete.

Diff Detail

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