diff options
author | Dave Watson <davejwatson@fb.com> | 2017-06-14 11:37:26 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-15 12:12:40 -0400 |
commit | e3b5616a347603a521fe3ac46f3194a60900e3a7 (patch) | |
tree | b4fb14a65da9ebe7c0ca71ccb7b1777013ab4936 /include/net/tcp.h | |
parent | 734942cc4ea6478eed125af258da1bdbb4afe578 (diff) | |
download | op-kernel-dev-e3b5616a347603a521fe3ac46f3194a60900e3a7.zip op-kernel-dev-e3b5616a347603a521fe3ac46f3194a60900e3a7.tar.gz |
tcp: export do_tcp_sendpages and tcp_rate_check_app_limited functions
Export do_tcp_sendpages and tcp_rate_check_app_limited, since tls will need to
sendpages while the socket is already locked.
tcp_sendpage is exported, but requires the socket lock to not be held already.
Signed-off-by: Aviad Yehezkel <aviadye@mellanox.com>
Signed-off-by: Ilya Lesokhin <ilyal@mellanox.com>
Signed-off-by: Boris Pismenny <borisp@mellanox.com>
Signed-off-by: Dave Watson <davejwatson@fb.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/tcp.h')
-rw-r--r-- | include/net/tcp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h index b439f46..e17ec28 100644 --- a/include/net/tcp.h +++ b/include/net/tcp.h @@ -350,6 +350,8 @@ int tcp_v4_tw_remember_stamp(struct inet_timewait_sock *tw); int tcp_sendmsg(struct sock *sk, struct msghdr *msg, size_t size); int tcp_sendpage(struct sock *sk, struct page *page, int offset, size_t size, int flags); +ssize_t do_tcp_sendpages(struct sock *sk, struct page *page, int offset, + size_t size, int flags); void tcp_release_cb(struct sock *sk); void tcp_wfree(struct sk_buff *skb); void tcp_write_timer_handler(struct sock *sk); |