diff options
-rw-r--r-- | net/ipv4/tcp_bbr.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/ipv4/tcp_bbr.c b/net/ipv4/tcp_bbr.c index 3089c956b9f9..ab3ff14ea7f7 100644 --- a/net/ipv4/tcp_bbr.c +++ b/net/ipv4/tcp_bbr.c | |||
@@ -874,6 +874,10 @@ static u32 bbr_sndbuf_expand(struct sock *sk) | |||
874 | */ | 874 | */ |
875 | static u32 bbr_undo_cwnd(struct sock *sk) | 875 | static u32 bbr_undo_cwnd(struct sock *sk) |
876 | { | 876 | { |
877 | struct bbr *bbr = inet_csk_ca(sk); | ||
878 | |||
879 | bbr->full_bw = 0; /* spurious slow-down; reset full pipe detection */ | ||
880 | bbr->full_bw_cnt = 0; | ||
877 | return tcp_sk(sk)->snd_cwnd; | 881 | return tcp_sk(sk)->snd_cwnd; |
878 | } | 882 | } |
879 | 883 | ||