diff options
author | James Smart <jsmart2021@gmail.com> | 2017-08-14 20:20:32 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2017-08-16 10:06:18 +0200 |
commit | 16a5a480f067f945fd27bf91ffdce3f959b0d4b6 (patch) | |
tree | d04bb93e2ec23fa0fa679794e954943920396b5d /drivers/nvme/target/core.c | |
parent | nvmet: don't overwrite identify sn/fr with 0-bytes (diff) | |
download | linux-16a5a480f067f945fd27bf91ffdce3f959b0d4b6.tar.xz linux-16a5a480f067f945fd27bf91ffdce3f959b0d4b6.zip |
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: James Smart <james.smart@broadcom.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/nvme/target/core.c')
0 files changed, 0 insertions, 0 deletions