diff options
author | Hannes Reinecke <hare@suse.de> | 2023-11-14 14:27:01 +0100 |
---|---|---|
committer | Keith Busch <kbusch@kernel.org> | 2023-11-20 09:25:32 -0800 |
commit | cd9aed606088d36a7ffff3e808db4e76b1854285 (patch) | |
tree | c3bb19d3bf9292ebe2990d9fb274de53154a9ce2 /scripts/bpf_doc.py | |
parent | 23441536b63677cb2ed9b1637d8ca70315e44bd0 (diff) |
nvme: catch errors from nvme_configure_metadata()
nvme_configure_metadata() is issuing I/O, so we might incur an I/O
error which will cause the connection to be reset.
But in that case any further probing will race with reset and
cause UAF errors.
So return a status from nvme_configure_metadata() and abort
probing if there was an I/O error.
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions