From: Vlad Yasevich Date: Fri, 13 Feb 2009 08:33:43 +0000 (+0000) Subject: sctp: Fix the RTO-doubling on idle-link heartbeats X-Git-Tag: v2.6.30-rc1~662^2~667 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=faee47cdbfe8d74a1573c2f81ea6dbb08d735be6;p=pandora-kernel.git sctp: Fix the RTO-doubling on idle-link heartbeats SCTP incorrectly doubles rto ever time a Hearbeat chunk is generated. However RFC 4960 states: On an idle destination address that is allowed to heartbeat, it is recommended that a HEARTBEAT chunk is sent once per RTO of that destination address plus the protocol parameter 'HB.interval', with jittering of +/- 50% of the RTO value, and exponential backoff of the RTO if the previous HEARTBEAT is unanswered. Essentially, of if the heartbean is unacknowledged, do we double the RTO. Signed-off-by: Vlad Yasevich Signed-off-by: David S. Miller --- Reading git-diff-tree failed