diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2014-04-06 21:51:23 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2014-11-24 04:28:51 -0500 |
commit | 21771e33272323fb817f554b4201c7c0ef160a65 (patch) | |
tree | c200f4258752e47c1e6b53aca7d83a2730fad832 | |
parent | 2964c50cc8bf4f5c1853155c552a9ce0a26e4854 (diff) | |
download | linux-crypto-21771e33272323fb817f554b4201c7c0ef160a65.tar.gz linux-crypto-21771e33272323fb817f554b4201c7c0ef160a65.zip |
new helper: memcpy_to_msg()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to '')
-rw-r--r-- | crypto/algif_hash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/algif_hash.c b/crypto/algif_hash.c index 85024620..35c93ff1 100644 --- a/crypto/algif_hash.c +++ b/crypto/algif_hash.c @@ -174,7 +174,7 @@ static int hash_recvmsg(struct kiocb *unused, struct socket *sock, goto unlock; } - err = memcpy_toiovec(msg->msg_iov, ctx->result, len); + err = memcpy_to_msg(msg, ctx->result, len); unlock: release_sock(sk); |