nvmet-fc: correct use after free on list teardown
Use list_for_each_entry_safe to prevent list handling from referencing next pointers directly after list_del's Signed-off-by: NJames Smart <james.smart@broadcom.com> Signed-off-by: NChristoph Hellwig <hch@lst.de>
Showing
想要评论请 注册 或 登录