diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-01-09 02:38:23 -0500 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-01-09 02:38:23 -0500 |
commit | da733563be5a9da26fe81d9f007262d00b846e22 (patch) | |
tree | db28291df94a2043af2123911984c5c173da4e6f /net/sctp/outqueue.c | |
parent | 6ccbcf2cb41131f8d56ef0723bf3f7c1f8486076 (diff) | |
parent | dab78d7924598ea4031663dd10db814e2e324928 (diff) |
Merge branch 'next' into for-linus
Diffstat (limited to 'net/sctp/outqueue.c')
-rw-r--r-- | net/sctp/outqueue.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/sctp/outqueue.c b/net/sctp/outqueue.c index a6d27bf563a5..14c2b06028ff 100644 --- a/net/sctp/outqueue.c +++ b/net/sctp/outqueue.c | |||
@@ -917,6 +917,8 @@ static int sctp_outq_flush(struct sctp_outq *q, int rtx_timeout) | |||
917 | * current cwnd). | 917 | * current cwnd). |
918 | */ | 918 | */ |
919 | if (!list_empty(&q->retransmit)) { | 919 | if (!list_empty(&q->retransmit)) { |
920 | if (asoc->peer.retran_path->state == SCTP_UNCONFIRMED) | ||
921 | goto sctp_flush_out; | ||
920 | if (transport == asoc->peer.retran_path) | 922 | if (transport == asoc->peer.retran_path) |
921 | goto retran; | 923 | goto retran; |
922 | 924 | ||
@@ -989,6 +991,8 @@ static int sctp_outq_flush(struct sctp_outq *q, int rtx_timeout) | |||
989 | ((new_transport->state == SCTP_INACTIVE) || | 991 | ((new_transport->state == SCTP_INACTIVE) || |
990 | (new_transport->state == SCTP_UNCONFIRMED))) | 992 | (new_transport->state == SCTP_UNCONFIRMED))) |
991 | new_transport = asoc->peer.active_path; | 993 | new_transport = asoc->peer.active_path; |
994 | if (new_transport->state == SCTP_UNCONFIRMED) | ||
995 | continue; | ||
992 | 996 | ||
993 | /* Change packets if necessary. */ | 997 | /* Change packets if necessary. */ |
994 | if (new_transport != transport) { | 998 | if (new_transport != transport) { |