summaryrefslogtreecommitdiff
path: root/patches/source/linux-2.6.29.6-3/linux-2.6.29.6-01-sendpage.diff
blob: d1e7a07afdcd425d1699d3b1ca0611f4381faebc (plain)
1
2
3
4
5
6
7
8
9
10
11
--- ./net/socket.c.orig	2009-08-02 14:29:53.000000000 -0500
+++ ./net/socket.c	2009-08-15 13:03:44.000000000 -0500
@@ -694,7 +694,7 @@
 	if (more)
 		flags |= MSG_MORE;
 
-	return sock->ops->sendpage(sock, page, offset, size, flags);
+	return kernel_sendpage(sock, page, offset, size, flags);
 }
 
 static ssize_t sock_splice_read(struct file *file, loff_t *ppos,