mirror of
https://github.com/torvalds/linux.git
synced 2026-12-02 11:34:58 +00:00
Ensure refcount is raised before request is enqueued since it could
be dequeued before the call returns.
Reported-by: Sean Anderson <[email protected]>
Cc: <[email protected]>
Fixes: 11144416a7 ("crypto: caam/qi - optimize frame queue cleanup")
Signed-off-by: Herbert Xu <[email protected]>
Reviewed-by: Horia Geantă <[email protected]>
Tested-by: Sean Anderson <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>