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

sctp: Try not to change a_rwnd when faking a SACK from SHUTDOWN.



We currently set a_rwnd to 0 when faking a SACK from SHUTDOWN.
This results in an hung association if the remote only uses
SHUTDOWNs (which it's allowed to do) to acknowlege DATA when
closing.  The reason for that is that we simply honor the a_rwnd
from the sack, but since we faked it to be 0, we enter 0-window
probing.  The fix is to use the peers old rwnd and add our flight
size to it.

Signed-off-by: default avatarVlad Yasevich <vladislav.yasevich@hp.com>
parent 4d3c46e6
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