aboutsummaryrefslogtreecommitdiff
path: root/fs/exec.c
diff options
context:
space:
mode:
authorKashyap Desai2023-06-09 04:01:47 -0700
committerLeon Romanovsky2023-06-12 10:10:17 +0300
commit691eb7c6110fe04e38bf0f60d713482508b3d199 (patch)
tree6142a4119acb59510b908022008b5717fcfcf57a /fs/exec.c
parent354f5bd985af9515190828bc642ebdf59acea121 (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 <kashyap.desai@broadcom.com> Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com> Link: https://lore.kernel.org/r/1686308514-11996-11-git-send-email-selvin.xavier@broadcom.com Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'fs/exec.c')
0 files changed, 0 insertions, 0 deletions