diff options
author | Xiyu Yang <xiyuyang19@fudan.edu.cn> | 2021-07-20 11:05:11 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2021-07-30 10:58:36 +0800 |
commit | d5ee8e750c9449e9849a09ce6fb6b8adeaa66adc (patch) | |
tree | 6df905f46fef4e34073c1dc2c6ac9407de3ded3a /crypto/ecc.h | |
parent | 192b722f3866d3fb45b9e6a6ecd02ff09f2aefbe (diff) | |
download | linux-stable-d5ee8e750c9449e9849a09ce6fb6b8adeaa66adc.tar.gz linux-stable-d5ee8e750c9449e9849a09ce6fb6b8adeaa66adc.tar.bz2 linux-stable-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/ecc.h')
0 files changed, 0 insertions, 0 deletions