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 db32777ab591..41f013888f07 100644 --- a/net/tipc/socket.c +++ b/net/tipc/socket.c | |||
@@ -186,7 +186,7 @@ static struct tipc_sock *tipc_sk(const struct sock *sk) | |||
186 | 186 | ||
187 | static bool tsk_conn_cong(struct tipc_sock *tsk) | 187 | static bool tsk_conn_cong(struct tipc_sock *tsk) |
188 | { | 188 | { |
189 | return tsk->snt_unacked >= tsk->snd_win; | 189 | return tsk->snt_unacked > tsk->snd_win; |
190 | } | 190 | } |
191 | 191 | ||
192 | /* tsk_blocks(): translate a buffer size in bytes to number of | 192 | /* tsk_blocks(): translate a buffer size in bytes to number of |