[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170816053110.15445.5060.stgit@john-Precision-Tower-5810>
Date: Tue, 15 Aug 2017 22:31:10 -0700
From: John Fastabend <john.fastabend@...il.com>
To: davem@...emloft.net, daniel@...earbox.net, ast@...com
Cc: tgraf@...g.ch, netdev@...r.kernel.org, john.fastabend@...il.com,
tom@...bertland.com
Subject: [net-next PATCH 02/10] net: add sendmsg_locked and sendpage_locked
to af_inet6
To complete the sendmsg_locked and sendpage_locked implementation add
the hooks for af_inet6 as well.
Signed-off-by: John Fastabend <john.fastabend@...il.com>
---
net/ipv6/af_inet6.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/net/ipv6/af_inet6.c b/net/ipv6/af_inet6.c
index 0a7c740..3b58ee7 100644
--- a/net/ipv6/af_inet6.c
+++ b/net/ipv6/af_inet6.c
@@ -554,6 +554,8 @@ int inet6_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
.recvmsg = inet_recvmsg, /* ok */
.mmap = sock_no_mmap,
.sendpage = inet_sendpage,
+ .sendmsg_locked = tcp_sendmsg_locked,
+ .sendpage_locked = tcp_sendpage_locked,
.splice_read = tcp_splice_read,
.read_sock = tcp_read_sock,
.peek_len = tcp_peek_len,
Powered by blists - more mailing lists