crypto: drbg - Fixes panic in wait_for_completion call
authorStephan Mueller <smueller@chronox.de>
Fri, 26 May 2017 10:11:31 +0000 (12:11 +0200)
committerRaspbian kernel package updater <root@raspbian.org>
Sun, 23 Jul 2017 03:08:46 +0000 (03:08 +0000)
commit2e1eeb01cfcab78a2f79e7ec688e70db47f5c52a
tree41ccd85909f062273ecba4043a15f42deffe7f3d
parentf59612b28ae5be3608ddfe0af0dc8b333b5aa8b3
crypto: drbg - Fixes panic in wait_for_completion call

commit b61929c654f2e725644935737c4c1ea9c741e2f8 upstream.

Initialise ctr_completion variable before use.

Cc: <stable@vger.kernel.org>
Signed-off-by: Harsh Jain <harshjain.prof@gmail.com>
Signed-off-by: Stephan Mueller <smueller@chronox.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
crypto/drbg.c