aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/raw.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2014-11-24 13:23:40 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2014-12-09 16:28:22 -0500
commitf69e6d131f5dac8278ac79a902cc448364880d8b (patch)
tree10349e4876756e6dd3382ee2db9158f7bd54b0d8 /net/ipv4/raw.c
parentipv6 equivalent of "ipv4: Avoid reading user iov twice after raw_probe_proto_opt" (diff)
downloadlinux-dev-f69e6d131f5dac8278ac79a902cc448364880d8b.tar.xz
linux-dev-f69e6d131f5dac8278ac79a902cc448364880d8b.zip
ip_generic_getfrag, udplite_getfrag: switch to passing msghdr
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'net/ipv4/raw.c')
-rw-r--r--net/ipv4/raw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/raw.c b/net/ipv4/raw.c
index 5c901ebf90af..5d83bd2fcedb 100644
--- a/net/ipv4/raw.c
+++ b/net/ipv4/raw.c
@@ -478,7 +478,7 @@ static int raw_getfrag(void *from, char *to, int offset, int len, int odd,
offset -= rfv->hlen;
- return ip_generic_getfrag(rfv->msg->msg_iov, to, offset, len, odd, skb);
+ return ip_generic_getfrag(rfv->msg, to, offset, len, odd, skb);
}
static int raw_sendmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg,