summaryrefslogtreecommitdiffstats
path: root/drivers/pps
diff options
context:
space:
mode:
authorKashyap Desai <kashyap.desai@broadcom.com>2023-06-09 04:01:47 -0700
committerLeon Romanovsky <leon@kernel.org>2023-06-12 10:10:17 +0300
commit691eb7c6110fe04e38bf0f60d713482508b3d199 (patch)
tree6142a4119acb59510b908022008b5717fcfcf57a /drivers/pps
parent354f5bd985af9515190828bc642ebdf59acea121 (diff)
downloadlinux-stable-691eb7c6110fe04e38bf0f60d713482508b3d199.tar.gz
linux-stable-691eb7c6110fe04e38bf0f60d713482508b3d199.tar.bz2
linux-stable-691eb7c6110fe04e38bf0f60d713482508b3d199.zip
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 'drivers/pps')
0 files changed, 0 insertions, 0 deletions