diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2014-11-24 19:23:40 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2014-12-09 22:28:22 +0100 |
commit | f69e6d131f5dac8278ac79a902cc448364880d8b (patch) | |
tree | 10349e4876756e6dd3382ee2db9158f7bd54b0d8 /include/net | |
parent | ipv6 equivalent of "ipv4: Avoid reading user iov twice after raw_probe_proto_... (diff) | |
download | linux-f69e6d131f5dac8278ac79a902cc448364880d8b.tar.xz linux-f69e6d131f5dac8278ac79a902cc448364880d8b.zip |
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 9a28a5179400..d5baaba65b46 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 */ |