diff options
Diffstat (limited to 'include/net/tcp.h')
-rw-r--r-- | include/net/tcp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h index dba22fc1b065..364426a2be5a 100644 --- a/include/net/tcp.h +++ b/include/net/tcp.h | |||
@@ -991,7 +991,7 @@ static inline unsigned int tcp_packets_in_flight(const struct tcp_sock *tp) | |||
991 | 991 | ||
992 | static inline bool tcp_in_slow_start(const struct tcp_sock *tp) | 992 | static inline bool tcp_in_slow_start(const struct tcp_sock *tp) |
993 | { | 993 | { |
994 | return tp->snd_cwnd <= tp->snd_ssthresh; | 994 | return tp->snd_cwnd < tp->snd_ssthresh; |
995 | } | 995 | } |
996 | 996 | ||
997 | static inline bool tcp_in_initial_slowstart(const struct tcp_sock *tp) | 997 | static inline bool tcp_in_initial_slowstart(const struct tcp_sock *tp) |