diff options
author | Kashyap Desai <[email protected]> | 2023-06-09 04:01:47 -0700 |
---|---|---|
committer | Leon Romanovsky <[email protected]> | 2023-06-12 10:10:17 +0300 |
commit | 691eb7c6110fe04e38bf0f60d713482508b3d199 (patch) | |
tree | 6142a4119acb59510b908022008b5717fcfcf57a /scripts/generate_rust_analyzer.py | |
parent | 354f5bd985af9515190828bc642ebdf59acea121 (diff) |
RDMA/bnxt_re: handle command completions after driver detect a timedout
If calling context detect command timeout, associated memory stored on
stack will not be valid. If firmware complete the same command later,
this causes incorrect memory access by driver.
Added is_waiter_alive to handle delayed completion by firmware.
is_waiter_alive is set and reset under command queue lock.
Signed-off-by: Kashyap Desai <[email protected]>
Signed-off-by: Selvin Xavier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Leon Romanovsky <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions