aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorAyush Sawal <ayush.sawal@chelsio.com>2020-02-05 10:48:42 +0530
committerHerbert Xu <herbert@gondor.apana.org.au>2020-02-13 17:05:26 +0800
commit9195189e00a7db55e7d448cee973cae87c5a3c71 (patch)
treea2b9490488920840200b978d7ae2f086b8437003 /crypto
parentcrypto: chelsio - This fixes the libkcapi's cbc(aes) aio fail test cases (diff)
downloadlinux-dev-9195189e00a7db55e7d448cee973cae87c5a3c71.tar.xz
linux-dev-9195189e00a7db55e7d448cee973cae87c5a3c71.zip
crypto: chelsio - This fixes the kernel panic which occurs during a libkcapi test
The libkcapi test which causes kernel panic is aead asynchronous vmsplice multiple test. ./bin/kcapi -v -d 4 -x 10 -c "ccm(aes)" -q 4edb58e8d5eb6bc711c43a6f3693daebde2e5524f1b55297abb29f003236e43d -t a7877c99 -n 674742abd0f5ba -k 2861fd0253705d7875c95ba8a53171b4 -a fb7bc304a3909e66e2e0c5ef952712dd884ce3e7324171369f2c5db1adc48c7d This patch avoids dma_mapping of a zero length sg which causes the panic, by using sg_nents_for_len which maps only upto a specific length Signed-off-by: Ayush Sawal <ayush.sawal@chelsio.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions