summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2025-02-14 05:31:25 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2025-02-22 10:56:03 +0300
commit7505436e2925d89a13706a295a6734d6cabb4b43 (patch)
tree726a498f6fbad981c28c309d719f54afe9bd6565 /include/linux/timerqueue.h
parent70c4a5c2139d9e7f7118d8745c6253f95c46c981 (diff)
downloadlinux-7505436e2925d89a13706a295a6734d6cabb4b43.tar.xz
crypto: api - Fix larval relookup type and mask
When the lookup is retried after instance construction, it uses the type and mask from the larval, which may not match the values used by the caller. For example, if the caller is requesting for a !NEEDS_FALLBACK algorithm, it may end up getting an algorithm that needs fallbacks. Fix this by making the caller supply the type/mask and using that for the lookup. Reported-by: Coiby Xu <coxu@redhat.com> Fixes: 96ad59552059 ("crypto: api - Remove instance larval fulfilment") Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions