diff options
| author | Michael Liang <[email protected]> | 2023-07-07 15:21:57 -0600 |
|---|---|---|
| committer | Keith Busch <[email protected]> | 2023-07-12 09:29:51 -0700 |
| commit | ee6fdc5055e916b1dd497f11260d4901c4c1e55e (patch) | |
| tree | 7b46664c17da474c76c5bd70078f7853f499f490 /drivers/gpu/drm/amd/amdgpu/amdgpu_rap.c | |
| parent | 60e445bdfccbb90c1bc13a92e128e50ba4357b3c (diff) | |
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 <[email protected]>
Reviewed-by: Caleb Sander <[email protected]>
Reviewed-by: James Smart <[email protected]>
Signed-off-by: Keith Busch <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_rap.c')
0 files changed, 0 insertions, 0 deletions