summaryrefslogtreecommitdiffstats
path: root/include/crypto
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior2019-04-12 17:14:15 +0200
committerHerbert Xu2019-04-18 16:15:04 +0200
commit8c3fffe3993b06dd1955a79bd2f0f3b143d259b3 (patch)
tree0a5d1f50aefb7ab51f2a6800e29d94e7b5a01702 /include/crypto
parentcrypto: rockchip - update IV buffer to contain the next IV (diff)
downloadkernel-qcow2-linux-8c3fffe3993b06dd1955a79bd2f0f3b143d259b3.tar.gz
kernel-qcow2-linux-8c3fffe3993b06dd1955a79bd2f0f3b143d259b3.tar.xz
kernel-qcow2-linux-8c3fffe3993b06dd1955a79bd2f0f3b143d259b3.zip
crypto: scompress - initialize per-CPU variables on each CPU
In commit 71052dcf4be70 ("crypto: scompress - Use per-CPU struct instead multiple variables") I accidentally initialized multiple times the memory on a random CPU. I should have initialize the memory on every CPU like it has been done earlier. I didn't notice this because the scheduler didn't move the task to another CPU. Guenter managed to do that and the code crashed as expected. Allocate / free per-CPU memory on each CPU. Fixes: 71052dcf4be70 ("crypto: scompress - Use per-CPU struct instead multiple variables") Reported-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Tested-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/crypto')
0 files changed, 0 insertions, 0 deletions