diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2020-05-29 14:54:43 +1000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-06-25 15:33:09 +0200 |
commit | b3ad0cdbdca3c8593bc8bb8f51bb0177597cbf6c (patch) | |
tree | f2fbc65c1ff5e98f9aafc523cd58b167d85674f6 /arch/nds32 | |
parent | d9d3352c20a0b9bbc224632418a075013ed1f702 (diff) | |
download | linux-stable-b3ad0cdbdca3c8593bc8bb8f51bb0177597cbf6c.tar.gz linux-stable-b3ad0cdbdca3c8593bc8bb8f51bb0177597cbf6c.tar.bz2 linux-stable-b3ad0cdbdca3c8593bc8bb8f51bb0177597cbf6c.zip |
crypto: algif_skcipher - Cap recv SG list at ctx->used
commit 7cf81954705b7e5b057f7dc39a7ded54422ab6e1 upstream.
Somewhere along the line the cap on the SG list length for receive
was lost. This patch restores it and removes the subsequent test
which is now redundant.
Fixes: 2d97591ef43d ("crypto: af_alg - consolidation of...")
Cc: <stable@vger.kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Reviewed-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>
Diffstat (limited to 'arch/nds32')
0 files changed, 0 insertions, 0 deletions