|
@@ -577,6 +577,13 @@ static int sctp_outq_flush_rtx(struct sctp_outq *q, struct sctp_packet *pkt,
|
|
|
* try to send as much as possible.
|
|
|
*/
|
|
|
list_for_each_entry_safe(chunk, chunk1, lqueue, transmitted_list) {
|
|
|
+ /* If the chunk is abandoned, move it to abandoned list. */
|
|
|
+ if (sctp_chunk_abandoned(chunk)) {
|
|
|
+ list_del_init(&chunk->transmitted_list);
|
|
|
+ sctp_insert_list(&q->abandoned,
|
|
|
+ &chunk->transmitted_list);
|
|
|
+ continue;
|
|
|
+ }
|
|
|
|
|
|
/* Make sure that Gap Acked TSNs are not retransmitted. A
|
|
|
* simple approach is just to move such TSNs out of the
|