]> git.baikalelectronics.ru Git - kernel.git/commit
sctp: Generate SACKs when actually sending outbound DATA
authorVlad Yasevich <vladislav.yasevich@hp.com>
Fri, 7 Aug 2009 14:43:07 +0000 (10:43 -0400)
committerVlad Yasevich <vladislav.yasevich@hp.com>
Fri, 4 Sep 2009 22:20:56 +0000 (18:20 -0400)
commite2c4ad3a587fc3941ac9bc25d0cfe74d3798ad9c
tree682a21fa15fd49e22e11d4a64cfea6771b3b5d94
parent6e79f45a5e7e504224716c6da1b42434bf5a7710
sctp: Generate SACKs when actually sending outbound DATA

We are now trying to bundle SACKs when we have outbound
DATA to send.  However, there are situations where this
outbound DATA will not be sent (due to congestion or
available window).  In such cases it's ok to wait for the
timer to expire.  This patch refactors the sending code
so that betfore attempting to bundle the SACK we check
to see if the DATA will actually be transmitted.

Based on eirlier works for Doug Graham <dgraham@nortel.com> and
Wei Youngjun <yjwei@cn.fujitsu.com>.

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