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
|
|
@ -921,7 +921,7 @@ static int llc_ui_sendmsg(struct kiocb *iocb, struct socket *sock,
|
|||
skb->dev = llc->dev;
|
||||
skb->protocol = llc_proto_type(addr->sllc_arphrd);
|
||||
skb_reserve(skb, hdrlen);
|
||||
rc = memcpy_fromiovec(skb_put(skb, copied), msg->msg_iov, copied);
|
||||
rc = memcpy_from_msg(skb_put(skb, copied), msg, copied);
|
||||
if (rc)
|
||||
goto out;
|
||||
if (sk->sk_type == SOCK_DGRAM || addr->sllc_ua) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue