Pass proper arguments (handles, not directly structure pointers) to
scif_cb_domain_device_removed(). This should fix NULL dereference on task management function timeout. Reviewed by: jimharris MFC after: 2 weeks
This commit is contained in:
parent
657ecb7617
commit
dc55467f7e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=310703
@ -210,8 +210,9 @@ isci_task_request_complete(SCI_CONTROLLER_HANDLE_T scif_controller,
|
||||
retry_task = FALSE;
|
||||
isci_log_message(0, "ISCI",
|
||||
"task timeout - not retrying\n");
|
||||
scif_cb_domain_device_removed(isci_controller,
|
||||
isci_remote_device->domain, isci_remote_device);
|
||||
scif_cb_domain_device_removed(scif_controller,
|
||||
isci_remote_device->domain->sci_object,
|
||||
remote_device);
|
||||
} else {
|
||||
retry_task = TRUE;
|
||||
isci_log_message(0, "ISCI",
|
||||
|
Loading…
Reference in New Issue
Block a user