summaryrefslogtreecommitdiffstats
path: root/net/wireless/wext-compat.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2015-02-11 04:55:45 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2015-02-11 04:55:45 +0100
commit9399f0c51489ae8c16d6559b82a452fdc1895e91 (patch)
treef99c8140dfb98082496ea2d457f9641ca8078daa /net/wireless/wext-compat.c
parentipv4: Namespecify TCP PMTU mechanism (diff)
downloadlinux-9399f0c51489ae8c16d6559b82a452fdc1895e91.tar.xz
linux-9399f0c51489ae8c16d6559b82a452fdc1895e91.zip
crypto: fix af_alg_make_sg() conversion to iov_iter
Commit 1d10eb2f156f ("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 'net/wireless/wext-compat.c')
0 files changed, 0 insertions, 0 deletions