summaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_output.c
diff options
context:
space:
mode:
authorNeal Cardwell2016-09-20 05:39:19 +0200
committerDavid S. Miller2016-09-21 06:23:01 +0200
commit556c6b46d194cc0dbb6a5b22f1d2bbc699c86d8e (patch)
tree50e4f365aa66a8d24b4c8f3e66087d481e5ba1a4 /net/ipv4/tcp_output.c
parenttcp: export tcp_tso_autosize() and parameterize minimum number of TSO segments (diff)
downloadkernel-qcow2-linux-556c6b46d194cc0dbb6a5b22f1d2bbc699c86d8e.tar.gz
kernel-qcow2-linux-556c6b46d194cc0dbb6a5b22f1d2bbc699c86d8e.tar.xz
kernel-qcow2-linux-556c6b46d194cc0dbb6a5b22f1d2bbc699c86d8e.zip
tcp: export tcp_mss_to_mtu() for congestion control modules
Export tcp_mss_to_mtu(), so that congestion control modules can use this to help calculate a pacing rate. Signed-off-by: Van Jacobson <vanj@google.com> Signed-off-by: Neal Cardwell <ncardwell@google.com> Signed-off-by: Yuchung Cheng <ycheng@google.com> Signed-off-by: Nandita Dukkipati <nanditad@google.com> Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: Soheil Hassas Yeganeh <soheil@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_output.c')
-rw-r--r--net/ipv4/tcp_output.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv4/tcp_output.c b/net/ipv4/tcp_output.c
index 0bf3d481fa85..7d025a7804b5 100644
--- a/net/ipv4/tcp_output.c
+++ b/net/ipv4/tcp_output.c
@@ -1362,6 +1362,7 @@ int tcp_mss_to_mtu(struct sock *sk, int mss)
}
return mtu;
}
+EXPORT_SYMBOL(tcp_mss_to_mtu);
/* MTU probing init per socket */
void tcp_mtup_init(struct sock *sk)