diff options
Diffstat (limited to 'crypto')
-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 850246206b12..35c93ff11f35 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, | |||
174 | goto unlock; | 174 | goto unlock; |
175 | } | 175 | } |
176 | 176 | ||
177 | err = memcpy_toiovec(msg->msg_iov, ctx->result, len); | 177 | err = memcpy_to_msg(msg, ctx->result, len); |
178 | 178 | ||
179 | unlock: | 179 | unlock: |
180 | release_sock(sk); | 180 | release_sock(sk); |