]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4a089db9335ac648b49814d41a7e91ebb0d5a4bb
treef9097fce144eb4646f5cdb1ac66e3b7f0f4c5a55
parent0cd56f342cdd7251ccc58d79ed8cf59553575d48
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