summaryrefslogtreecommitdiffstats
path: root/crypto/cipher.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2019-12-07 22:15:17 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2019-12-11 16:48:39 +0800
commit4f87ee118d16b4b2116a477229573ed5003b0d78 (patch)
treea57cbf2d901e3de04719901be7d194d561613a97 /crypto/cipher.c
parent73669cc556462f4e50376538d77ee312142e8a8a (diff)
downloadlinux-4f87ee118d16b4b2116a477229573ed5003b0d78.tar.gz
linux-4f87ee118d16b4b2116a477229573ed5003b0d78.tar.bz2
linux-4f87ee118d16b4b2116a477229573ed5003b0d78.zip
crypto: api - Do not zap spawn->alg
Currently when a spawn is removed we will zap its alg field. This is racy because the spawn could belong to an unregistered instance which may dereference the spawn->alg field. This patch fixes this by keeping spawn->alg constant and instead adding a new spawn->dead field to indicate that a spawn is going away. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/cipher.c')
0 files changed, 0 insertions, 0 deletions