Commit 834b9fe7 authored by David S. Miller's avatar David S. Miller

net/ipv4/udp.c: proto sendpage returns int not size_t.

parent fe8ab769
......@@ -739,7 +739,7 @@ int udp_sendmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg,
goto out;
}
ssize_t udp_sendpage(struct sock *sk, struct page *page, int offset, size_t size, int flags)
int udp_sendpage(struct sock *sk, struct page *page, int offset, size_t size, int flags)
{
struct udp_opt *up = udp_sk(sk);
int ret;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment