diff options
Diffstat (limited to 'net/tipc/socket.c')
-rw-r--r-- | net/tipc/socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tipc/socket.c b/net/tipc/socket.c index 4916d8fea328..333c5dae0072 100644 --- a/net/tipc/socket.c +++ b/net/tipc/socket.c | |||
@@ -184,7 +184,7 @@ static struct tipc_sock *tipc_sk(const struct sock *sk) | |||
184 | 184 | ||
185 | static bool tsk_conn_cong(struct tipc_sock *tsk) | 185 | static bool tsk_conn_cong(struct tipc_sock *tsk) |
186 | { | 186 | { |
187 | return tsk->snt_unacked >= tsk->snd_win; | 187 | return tsk->snt_unacked > tsk->snd_win; |
188 | } | 188 | } |
189 | 189 | ||
190 | /* tsk_blocks(): translate a buffer size in bytes to number of | 190 | /* tsk_blocks(): translate a buffer size in bytes to number of |