tcp: export tcp_mss_to_mtu() for congestion control modules
authorNeal Cardwell <ncardwell@google.com>
Tue, 20 Sep 2016 03:39:19 +0000 (23:39 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 Sep 2016 04:23:01 +0000 (00:23 -0400)
commit556c6b46d194cc0dbb6a5b22f1d2bbc699c86d8e
tree50e4f365aa66a8d24b4c8f3e66087d481e5ba1a4
parent1b3878ca1551f3baab2c408d1e703b5ef785a1b2
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>
net/ipv4/tcp_output.c