mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 04:01:48 -04:00
new helper: memcpy_from_msg()
Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
227158db16
commit
6ce8e9ce59
36 changed files with 57 additions and 57 deletions
|
|
@ -1170,7 +1170,7 @@ static int x25_sendmsg(struct kiocb *iocb, struct socket *sock,
|
|||
skb_reset_transport_header(skb);
|
||||
skb_put(skb, len);
|
||||
|
||||
rc = memcpy_fromiovec(skb_transport_header(skb), msg->msg_iov, len);
|
||||
rc = memcpy_from_msg(skb_transport_header(skb), msg, len);
|
||||
if (rc)
|
||||
goto out_kfree_skb;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue