From 7eafcf5ee0a735faa9667aef47eb3733394384f8 Mon Sep 17 00:00:00 2001 From: Alexandre Frade Date: Tue, 9 Feb 2021 20:50:06 +0000 Subject: [PATCH] net-tcp_bbr: v2: fix build to prevent no previous prototype for 'bbr2_main' warning Co-authored-by: Neal Cardwell Signed-off-by: Alexandre Frade --- net/ipv4/tcp_bbr2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/ipv4/tcp_bbr2.c b/net/ipv4/tcp_bbr2.c index 87f0c38fbcc40..5510adc92bbb4 100644 --- a/net/ipv4/tcp_bbr2.c +++ b/net/ipv4/tcp_bbr2.c @@ -2231,7 +2231,7 @@ static bool bbr2_fast_path(struct sock *sk, bool *update_model, return false; } -void bbr2_main(struct sock *sk, const struct rate_sample *rs) +static void bbr2_main(struct sock *sk, const struct rate_sample *rs) { struct tcp_sock *tp = tcp_sk(sk); struct bbr *bbr = inet_csk_ca(sk);