Skip to content

Commit

Permalink
net-tcp_bbr: v2: fix build to prevent no previous prototype for 'bbr2…
Browse files Browse the repository at this point in the history
…_main' warning

Co-authored-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: Alexandre Frade <kernel@xanmod.org>
  • Loading branch information
xanmod and nealcardwell committed Feb 10, 2021
1 parent 5135ce2 commit 7eafcf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/ipv4/tcp_bbr2.c
Expand Up @@ -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);
Expand Down

0 comments on commit 7eafcf5

Please sign in to comment.