• Vlad Yasevich's avatar
    sctp: Generate SACKs when actually sending outbound DATA · e83963b7
    Vlad Yasevich authored
    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>
    e83963b7
output.c 22.9 KB