summaryrefslogtreecommitdiff
path: root/crypto/lz4hc.c
diff options
context:
space:
mode:
authorChuhong Yuan <hslester96@gmail.com>2019-08-08 16:00:22 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2019-08-15 21:52:13 +1000
commitb852c19fb03b54077c8f650d7515ce4135c16f1f (patch)
treeb208e7e877b0cce32d026a247528a22baa4ddd19 /crypto/lz4hc.c
parentfa711c56054638f10f5dd11f746a04086c782554 (diff)
downloadlinux-crypto-b852c19fb03b54077c8f650d7515ce4135c16f1f.tar.gz
linux-crypto-b852c19fb03b54077c8f650d7515ce4135c16f1f.zip
crypto: cryptd - Use refcount_t for refcount
Reference counters are preferred to use refcount_t instead of atomic_t. This is because the implementation of refcount_t can prevent overflows and detect possible use-after-free. So convert atomic_t ref counters to refcount_t. Signed-off-by: Chuhong Yuan <hslester96@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/lz4hc.c')
0 files changed, 0 insertions, 0 deletions