mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-26 14:43:27 -04:00
new helper: skb_copy_and_csum_datagram_msg()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
c33d23c215
commit
227158db16
4 changed files with 9 additions and 5 deletions
|
|
@ -2651,6 +2651,11 @@ static inline int skb_copy_datagram_msg(const struct sk_buff *from, int offset,
|
|||
}
|
||||
int skb_copy_and_csum_datagram_iovec(struct sk_buff *skb, int hlen,
|
||||
struct iovec *iov);
|
||||
static inline int skb_copy_and_csum_datagram_msg(struct sk_buff *skb, int hlen,
|
||||
struct msghdr *msg)
|
||||
{
|
||||
return skb_copy_and_csum_datagram_iovec(skb, hlen, msg->msg_iov);
|
||||
}
|
||||
int skb_copy_datagram_from_iovec(struct sk_buff *skb, int offset,
|
||||
const struct iovec *from, int from_offset,
|
||||
int len);
|
||||
|
|
|
|||
Loading…
Reference in a new issue