new helper: memcpy_to_msg()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
e169371823
commit
7eab8d9e8a
9 changed files with 13 additions and 9 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue