Commit 556c6b46 authored by Neal Cardwell's avatar Neal Cardwell Committed by David S. Miller

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: default avatarVan Jacobson <vanj@google.com>
Signed-off-by: default avatarNeal Cardwell <ncardwell@google.com>
Signed-off-by: default avatarYuchung Cheng <ycheng@google.com>
Signed-off-by: default avatarNandita Dukkipati <nanditad@google.com>
Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
Signed-off-by: default avatarSoheil Hassas Yeganeh <soheil@google.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1b3878ca
...@@ -1362,6 +1362,7 @@ int tcp_mss_to_mtu(struct sock *sk, int mss) ...@@ -1362,6 +1362,7 @@ int tcp_mss_to_mtu(struct sock *sk, int mss)
} }
return mtu; return mtu;
} }
EXPORT_SYMBOL(tcp_mss_to_mtu);
/* MTU probing init per socket */ /* MTU probing init per socket */
void tcp_mtup_init(struct sock *sk) void tcp_mtup_init(struct sock *sk)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment