From: John Fastabend Date: Wed, 16 Aug 2017 05:31:10 +0000 (-0700) Subject: net: add sendmsg_locked and sendpage_locked to af_inet6 X-Git-Tag: v4.14-rc1~130^2~234^2~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=45f91bdcd5c5ba559a4bb7c3a0e0709476cf570f;p=platform%2Fkernel%2Flinux-rpi.git 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 Signed-off-by: David S. Miller --- 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 @@ const struct proto_ops inet6_stream_ops = { .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,