Re: [PATCH] fix NULL-pointer dereference on scsi_run_queue

From: Bart Van Assche
Date: Wed Aug 08 2012 - 03:37:27 EST


On 08/08/12 03:42, Chanho Min wrote:
> Thank you for the explanation. It look correct. Let's check one more thing.
> What If __scsi_remove_device doesn't release device? : reference count
> is more than 2.
> So We lost starved_list but device is exist. Is there any issue about this?

As far as I can see that scenario will also be handled correctly by the
proposed patch.

Bart.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/