OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c55e01
)
[TCP] splice: add tcp_splice_read() to IPV6
author
Jens Axboe
<jens.axboe@oracle.com>
Wed, 7 Nov 2007 07:31:58 +0000
(23:31 -0800)
committer
David S. Miller
<davem@davemloft.net>
Mon, 28 Jan 2008 22:53:32 +0000
(14:53 -0800)
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>
net/ipv6/af_inet6.c
patch
|
blob
|
history
diff --git
a/net/ipv6/af_inet6.c
b/net/ipv6/af_inet6.c
index
ecbd388
..
85178f7
100644
(file)
--- a/
net/ipv6/af_inet6.c
+++ b/
net/ipv6/af_inet6.c
@@
-491,6
+491,7
@@
const struct proto_ops inet6_stream_ops = {
.recvmsg = sock_common_recvmsg, /* ok */
.mmap = sock_no_mmap,
.sendpage = tcp_sendpage,
+ .splice_read = tcp_splice_read,
#ifdef CONFIG_COMPAT
.compat_setsockopt = compat_sock_common_setsockopt,
.compat_getsockopt = compat_sock_common_getsockopt,