summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2017-08-16 15:40:44 -0700
committerDavid S. Miller <davem@davemloft.net>2017-08-16 15:41:34 -0700
commit774c46732ddba4632fa735beb17589aac90d5b49 (patch)
tree597b7f34c22afe4a200c5401379ced2fb3d5edcd /net
parentf31126b2cdbe11c3807c80d87643c5d4b258817a (diff)
downloadlinux-774c46732ddba4632fa735beb17589aac90d5b49.tar.bz2
tcp: Export tcp_{sendpage,sendmsg}_locked() for ipv6.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/ipv4/tcp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c
index 71b25567e787..d25e3bcca66b 100644
--- a/net/ipv4/tcp.c
+++ b/net/ipv4/tcp.c
@@ -1058,6 +1058,7 @@ int tcp_sendpage_locked(struct sock *sk, struct page *page, int offset,
return do_tcp_sendpages(sk, page, offset, size, flags);
}
+EXPORT_SYMBOL_GPL(tcp_sendpage_locked);
int tcp_sendpage(struct sock *sk, struct page *page, int offset,
size_t size, int flags)
@@ -1436,6 +1437,7 @@ out_err:
}
return err;
}
+EXPORT_SYMBOL_GPL(tcp_sendmsg_locked);
int tcp_sendmsg(struct sock *sk, struct msghdr *msg, size_t size)
{