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)
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

Simple merge