aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/af_inet.c
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2007-11-07 02:30:13 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 17:53:31 -0500
commit9c55e01c0cc835818475a6ce8c4d684df9949ac8 (patch)
tree1115311436677f837a4b477e3fd23c5e0ae184ef /net/ipv4/af_inet.c
parentbbdfc2f70610bebb841d0874dc901c648308e43a (diff)
[TCP]: Splice receive support.
Support for network splice receive. Signed-off-by: Jens Axboe <jens.axboe@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/af_inet.c')
-rw-r--r--net/ipv4/af_inet.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv4/af_inet.c b/net/ipv4/af_inet.c
index d2f22e74b267..c75f20b49935 100644
--- a/net/ipv4/af_inet.c
+++ b/net/ipv4/af_inet.c
@@ -838,6 +838,7 @@ const struct proto_ops inet_stream_ops = {
838 .recvmsg = sock_common_recvmsg, 838 .recvmsg = sock_common_recvmsg,
839 .mmap = sock_no_mmap, 839 .mmap = sock_no_mmap,
840 .sendpage = tcp_sendpage, 840 .sendpage = tcp_sendpage,
841 .splice_read = tcp_splice_read,
841#ifdef CONFIG_COMPAT 842#ifdef CONFIG_COMPAT
842 .compat_setsockopt = compat_sock_common_setsockopt, 843 .compat_setsockopt = compat_sock_common_setsockopt,
843 .compat_getsockopt = compat_sock_common_getsockopt, 844 .compat_getsockopt = compat_sock_common_getsockopt,