Skip to content
Commit e83963b7 authored by Vlad Yasevich's avatar Vlad Yasevich
Browse files

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: default avatarVlad Yasevich <vladislav.yasevich@hp.com>
parent 3e62abf9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment