diff options
author | Dave Watson <davejwatson@fb.com> | 2017-06-14 21:37:26 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-15 19:12:40 +0300 |
commit | e3b5616a347603a521fe3ac46f3194a60900e3a7 (patch) | |
tree | b4fb14a65da9ebe7c0ca71ccb7b1777013ab4936 /net/ipv4/tcp_rate.c | |
parent | 734942cc4ea6478eed125af258da1bdbb4afe578 (diff) | |
download | linux-e3b5616a347603a521fe3ac46f3194a60900e3a7.tar.xz |
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 'net/ipv4/tcp_rate.c')
-rw-r--r-- | net/ipv4/tcp_rate.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv4/tcp_rate.c b/net/ipv4/tcp_rate.c index ad99569d4c1e..3330a370d306 100644 --- a/net/ipv4/tcp_rate.c +++ b/net/ipv4/tcp_rate.c @@ -185,3 +185,4 @@ void tcp_rate_check_app_limited(struct sock *sk) tp->app_limited = (tp->delivered + tcp_packets_in_flight(tp)) ? : 1; } +EXPORT_SYMBOL_GPL(tcp_rate_check_app_limited); |