[PATCH] nvmet_fc: use list_for_each_safe()

Christoph Hellwig hch at infradead.org
Thu Aug 17 00:33:13 PDT 2017


On Thu, Aug 17, 2017 at 09:41:53AM +0300, Dan Carpenter wrote:
> We are freeing the list and the current code dereferences "deferfcp"
> after it's freed.  Let's use list_for_each_entry_safe() instead.

James already sent the same patch and I've got it queued up.



More information about the Linux-nvme mailing list