summaryrefslogtreecommitdiffstats
path: root/arch/tile/kernel/hvglue.S
diff options
context:
space:
mode:
authorLABBE Corentin <clabbe.montjoie@gmail.com>2015-09-09 14:27:07 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2015-09-10 17:22:55 +0800
commit9da75de030bb6e49475ef37c8495d07e98cfeb33 (patch)
tree728713e8fbfe7790c480e663fab64d6ce4b9af7b /arch/tile/kernel/hvglue.S
parentf1ab428711358fbb747ba392c3448462494e6c6a (diff)
downloadop-kernel-dev-9da75de030bb6e49475ef37c8495d07e98cfeb33.zip
op-kernel-dev-9da75de030bb6e49475ef37c8495d07e98cfeb33.tar.gz
crypto: sunxi-ss - Fix a possible driver hang with ciphers
The sun4i_ss_opti_poll function cipher data until the output miter have a length of 0. If the crypto API client, give more SGs than necessary this could result in an infinite loop. Fix it by checking for remaining bytes, just like sun4i_ss_cipher_poll(). Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/tile/kernel/hvglue.S')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud