diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2014-11-24 13:23:40 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2014-12-09 16:28:22 -0500 |
commit | f69e6d131f5dac8278ac79a902cc448364880d8b (patch) | |
tree | 10349e4876756e6dd3382ee2db9158f7bd54b0d8 /include/net | |
parent | 19e3c66b52caf20a9a1119dc847b6abae4c03f4f (diff) |
ip_generic_getfrag, udplite_getfrag: switch to passing msghdr
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/udplite.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/udplite.h b/include/net/udplite.h index 9a28a517940..d5baaba65b4 100644 --- a/include/net/udplite.h +++ b/include/net/udplite.h @@ -19,7 +19,8 @@ extern struct udp_table udplite_table; static __inline__ int udplite_getfrag(void *from, char *to, int offset, int len, int odd, struct sk_buff *skb) { - return memcpy_fromiovecend(to, (struct iovec *) from, offset, len); + struct msghdr *msg = from; + return memcpy_fromiovecend(to, msg->msg_iov, offset, len); } /* Designate sk as UDP-Lite socket */ |