Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 90723
b: refs/heads/master
c: 9900980
h: refs/heads/master
i:
  90721: b94f7a8
  90719: 913cc5e
v: v3
  • Loading branch information
Allan Stephens authored and David S. Miller committed Apr 15, 2008
1 parent ba4077e commit 3a385f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2c8dd11636e3a5f14a7fb765331b7043f01fe937
refs/heads/master: 990098068fe963f956c14f681bd88d90dcb14584
3 changes: 2 additions & 1 deletion trunk/net/tipc/socket.c
Original file line number Diff line number Diff line change
Expand Up @@ -919,7 +919,8 @@ static int recv_msg(struct kiocb *iocb, struct socket *sock,
/* Consume received message (optional) */

if (likely(!(flags & MSG_PEEK))) {
if (unlikely(++tsock->p->conn_unacked >= TIPC_FLOW_CONTROL_WIN))
if ((sock->state != SS_READY) &&
(++tsock->p->conn_unacked >= TIPC_FLOW_CONTROL_WIN))
tipc_acknowledge(tsock->p->ref, tsock->p->conn_unacked);
advance_queue(tsock);
}
Expand Down

0 comments on commit 3a385f4

Please sign in to comment.