summaryrefslogtreecommitdiff
path: root/crypto/Kconfig
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2015-02-10 19:55:45 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2015-02-10 19:55:45 -0800
commit13a7af2378dfab31fd00e73f1986e92b60e09377 (patch)
tree962383f0b460f77f3f40909870186eda06aad39d /crypto/Kconfig
parent09079c19a2d0e249a69ab1e54925e56c4950cca1 (diff)
downloadlinux-crypto-13a7af2378dfab31fd00e73f1986e92b60e09377.tar.gz
linux-crypto-13a7af2378dfab31fd00e73f1986e92b60e09377.zip
crypto: fix af_alg_make_sg() conversion to iov_iter
Commit a72af7c1bd53 ("crypto: switch af_alg_make_sg() to iov_iter") broke af_alg_make_sg() and skcipher_recvmsg() in the process of moving them to the iov_iter interfaces. The 'npages' calculation in the formar calculated the number of *bytes* in the pages, and in the latter case the conversion didn't re-read the value of 'ctx->used' after waiting for it to become non-zero. This reverts to the original code for both these cases. Cc: Al Viro <viro@zeniv.linux.org.uk> Cc: David Miller <davem@davemloft.net> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'crypto/Kconfig')
0 files changed, 0 insertions, 0 deletions