summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorXiyu Yang <xiyuyang19@fudan.edu.cn>2021-07-20 17:05:11 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2021-07-30 04:58:36 +0200
commitd5ee8e750c9449e9849a09ce6fb6b8adeaa66adc (patch)
tree6df905f46fef4e34073c1dc2c6ac9407de3ded3a /crypto
parentcrypto: sun8i-ss - Use kfree_sensitive (diff)
downloadlinux-d5ee8e750c9449e9849a09ce6fb6b8adeaa66adc.tar.xz
linux-d5ee8e750c9449e9849a09ce6fb6b8adeaa66adc.zip
padata: Convert from atomic_t to refcount_t on parallel_data->refcnt
refcount_t type and corresponding API can protect refcounters from accidental underflow and overflow and further use-after-free situations. Signed-off-by: Xiyu Yang <xiyuyang19@fudan.edu.cn> Signed-off-by: Xin Tan <tanxin.ctf@gmail.com> Acked-by: Daniel Jordan <daniel.m.jordan@oracle.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions