summaryrefslogtreecommitdiff
path: root/patches/source/linux-2.6.29.6-3/linux-2.6.29.6-01-sendpage.diff
diff options
context:
space:
mode:
Diffstat (limited to 'patches/source/linux-2.6.29.6-3/linux-2.6.29.6-01-sendpage.diff')
-rw-r--r--patches/source/linux-2.6.29.6-3/linux-2.6.29.6-01-sendpage.diff11
1 files changed, 11 insertions, 0 deletions
diff --git a/patches/source/linux-2.6.29.6-3/linux-2.6.29.6-01-sendpage.diff b/patches/source/linux-2.6.29.6-3/linux-2.6.29.6-01-sendpage.diff
new file mode 100644
index 00000000..d1e7a07a
--- /dev/null
+++ b/patches/source/linux-2.6.29.6-3/linux-2.6.29.6-01-sendpage.diff
@@ -0,0 +1,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,