Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 265536
b: refs/heads/master
c: f207c05
h: refs/heads/master
v: v3
  • Loading branch information
Michio Honda authored and David S. Miller committed Aug 25, 2011
1 parent 1c30f5b commit 5a17adf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a262f0cdf1f2916ea918dc329492abb5323d9a6c
refs/heads/master: f207c050fb1c385e34946e57107e639831c7d557
4 changes: 4 additions & 0 deletions trunk/net/sctp/outqueue.c
Original file line number Diff line number Diff line change
Expand Up @@ -917,6 +917,8 @@ static int sctp_outq_flush(struct sctp_outq *q, int rtx_timeout)
* current cwnd).
*/
if (!list_empty(&q->retransmit)) {
if (asoc->peer.retran_path->state == SCTP_UNCONFIRMED)
goto sctp_flush_out;
if (transport == asoc->peer.retran_path)
goto retran;

Expand Down Expand Up @@ -989,6 +991,8 @@ static int sctp_outq_flush(struct sctp_outq *q, int rtx_timeout)
((new_transport->state == SCTP_INACTIVE) ||
(new_transport->state == SCTP_UNCONFIRMED)))
new_transport = asoc->peer.active_path;
if (new_transport->state == SCTP_UNCONFIRMED)
continue;

/* Change packets if necessary. */
if (new_transport != transport) {
Expand Down

0 comments on commit 5a17adf

Please sign in to comment.