sctp: Flush the queue only once during fast retransmit.
authorVlad Yasevich <vladislav.yasevich@hp.com>
Wed, 4 Jun 2008 19:39:36 +0000 (12:39 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Jun 2008 19:39:36 +0000 (12:39 -0700)
commit8b750ce54bd8ab5f75d519ee450e1b0c5226ebe9
treef9097fce144eb4646f5cdb1ac66e3b7f0f4c5a55
parent62aeaff5ccd96462b7077046357a6d7886175a57
sctp: Flush the queue only once during fast retransmit.

When fast retransmit is triggered by a sack, we should flush the queue
only once so that only 1 retransmit happens.  Also, since we could
potentially have non-fast-rtx chunks on the retransmit queue, we need
make sure any chunks eligable for fast retransmit are sent first
during fast retransmission.

Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Tested-by: Wei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/outqueue.c