]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: sha512-mb - fix ctx pointer
authorXiaodong Liu <xiaodong.liu@intel.com>
Fri, 12 Aug 2016 10:28:31 +0000 (06:28 -0400)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 16 Aug 2016 09:09:43 +0000 (17:09 +0800)
commit22dc60daa12e54ce00fe5b37393458b8a717dfc9
treede33725bbc5c6fed961e9167fa59463202730376
parentafdf37d84984deda00775b55beb1a18b22a22c41
crypto: sha512-mb - fix ctx pointer

1. fix ctx pointer
Use req_ctx which is the ctx for the next job that have
been completed in the lanes instead of the first
completed job rctx, whose completion could have been
called and released.

Signed-off-by: Xiaodong Liu <xiaodong.liu@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/x86/crypto/sha512-mb/sha512_mb.c