sctp: Retransmit list is ineligable for missing indications
authorVlad Yasevich <vladislav.yasevich@hp.com>
Mon, 23 Jun 2008 19:26:20 +0000 (15:26 -0400)
committerVlad Yasevich <vladislav.yasevich@hp.com>
Wed, 1 Oct 2008 15:33:06 +0000 (11:33 -0400)
Chunks placed on the retransmit list are marked as inelegible
for fast retrasnmission.   Since missing indications determine
when fast reransmission is done, there is not point in calling
sctp_mark_missing() on the retransmit list since those chunks
will not be marked.

Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
net/sctp/outqueue.c

index c8de4da57f36d3e203d4e03a0fc8db31c3e5333a..da8d846301c18d8f07ea8a9c4b78db91afbf6bb0 100644 (file)
@@ -1209,8 +1209,6 @@ int sctp_outq_sack(struct sctp_outq *q, struct sctp_sackhdr *sack)
        }
 
        if (gap_ack_blocks) {
-               sctp_mark_missing(q, &q->retransmit, NULL, highest_new_tsn, 0);
-
                list_for_each_entry(transport, transport_list, transports)
                        sctp_mark_missing(q, &transport->transmitted, transport,
                                          highest_new_tsn, count_of_newacks);