• Al Viro's avatar
    crypto: switch af_alg_make_sg() to iov_iter · 1d10eb2f
    Al Viro authored
    With that, all ->sendmsg() instances are converted to iov_iter primitives
    and are agnostic wrt the kind of iov_iter they are working with.
    So's the last remaining ->recvmsg() instance that wasn't kind-agnostic yet.
    All ->sendmsg() and ->recvmsg() advance ->msg_iter by the amount actually
    copied and none of them modifies the underlying iovec, etc.
    
    Cc: linux-crypto@vger.kernel.org
    Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
    1d10eb2f
af_alg.c 9.17 KB