diff options
author | 2023-07-07 15:21:57 -0600 | |
---|---|---|
committer | 2023-07-12 09:29:51 -0700 | |
commit | ee6fdc5055e916b1dd497f11260d4901c4c1e55e (patch) | |
tree | 7b46664c17da474c76c5bd70078f7853f499f490 /scripts/generate_rust_analyzer.py | |
parent | nvme-fc: return non-zero status code when fails to create association (diff) | |
download | wireguard-linux-ee6fdc5055e916b1dd497f11260d4901c4c1e55e.tar.xz wireguard-linux-ee6fdc5055e916b1dd497f11260d4901c4c1e55e.zip |
nvme-fc: fix race between error recovery and creating association
There is a small race window between nvme-fc association creation and error
recovery. Fix this race condition by protecting accessing to controller
state and ASSOC_FAILED flag under nvme-fc controller lock.
Signed-off-by: Michael Liang <mliang@purestorage.com>
Reviewed-by: Caleb Sander <csander@purestorage.com>
Reviewed-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions