Skip to content

Commit 556c6b4

Browse files
nealcardwelldavem330
authored andcommitted
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 <[email protected]> Signed-off-by: Neal Cardwell <[email protected]> Signed-off-by: Yuchung Cheng <[email protected]> Signed-off-by: Nandita Dukkipati <[email protected]> Signed-off-by: Eric Dumazet <[email protected]> Signed-off-by: Soheil Hassas Yeganeh <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 1b3878c commit 556c6b4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

net/ipv4/tcp_output.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1362,6 +1362,7 @@ int tcp_mss_to_mtu(struct sock *sk, int mss)
13621362
}
13631363
return mtu;
13641364
}
1365+
EXPORT_SYMBOL(tcp_mss_to_mtu);
13651366

13661367
/* MTU probing init per socket */
13671368
void tcp_mtup_init(struct sock *sk)

0 commit comments

Comments
 (0)