From: Al Viro Date: Mon, 24 Nov 2014 18:23:40 +0000 (-0500) Subject: ip_generic_getfrag, udplite_getfrag: switch to passing msghdr X-Git-Tag: omap-for-v3.19/fixes-rc1~125^2~20^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f69e6d131f5dac8278ac79a902cc448364880d8b;p=pandora-kernel.git ip_generic_getfrag, udplite_getfrag: switch to passing msghdr Signed-off-by: Al Viro --- 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 */ Reading git-diff-tree failed