aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2007-11-07 02:31:58 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 17:53:32 -0500
commita0974dd3da87667e26ef5d3b32989a43319866f2 (patch)
treee49843b502b1f7d0f78340c95d924389caa28c14 /net
parent9c55e01c0cc835818475a6ce8c4d684df9949ac8 (diff)
[TCP] splice: add tcp_splice_read() to IPV6
Thanks to YOSHIFUJI Hideaki for the hint! Signed-off-by: Jens Axboe <jens.axboe@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/ipv6/af_inet6.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv6/af_inet6.c b/net/ipv6/af_inet6.c
index ecbd38894fdd..85178f71b218 100644
--- a/net/ipv6/af_inet6.c
+++ b/net/ipv6/af_inet6.c
@@ -491,6 +491,7 @@ const struct proto_ops inet6_stream_ops = {
491 .recvmsg = sock_common_recvmsg, /* ok */ 491 .recvmsg = sock_common_recvmsg, /* ok */
492 .mmap = sock_no_mmap, 492 .mmap = sock_no_mmap,
493 .sendpage = tcp_sendpage, 493 .sendpage = tcp_sendpage,
494 .splice_read = tcp_splice_read,
494#ifdef CONFIG_COMPAT 495#ifdef CONFIG_COMPAT
495 .compat_setsockopt = compat_sock_common_setsockopt, 496 .compat_setsockopt = compat_sock_common_setsockopt,
496 .compat_getsockopt = compat_sock_common_getsockopt, 497 .compat_getsockopt = compat_sock_common_getsockopt,