Skip to content
Commit 02bd3499 authored by James Bottomley's avatar James Bottomley
Browse files

[SCSI] scsi_lib: only call scsi_unprep_request() under queue lock



It's called under that lock everywhere else and it does alter the
request state, so it should be.

This one occurance in scsi_requeue_command() could open a window where
req->special is set to NULL while the requests is going through either
timeout or completion processing leading to NULL pointer derefs of the
sort complained of in bugzillas 12020 and 12195.

Signed-off-by: default avatarJames Bottomley <James.Bottomley@HansenPartnership.com>
parent 57458036
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment