aboutsummaryrefslogtreecommitdiffstats
path: root/net/sctp/protocol.c
diff options
context:
space:
mode:
authorVlad Yasevich <vladislav.yasevich@hp.com>2009-02-13 08:33:43 +0000
committerDavid S. Miller <davem@davemloft.net>2009-02-16 00:03:10 -0800
commitfaee47cdbfe8d74a1573c2f81ea6dbb08d735be6 (patch)
tree6a95e8f91087cd3d584fc89f9bc06355d371d82a /net/sctp/protocol.c
parentsctp: Clean up sctp checksumming code (diff)
downloadlinux-dev-faee47cdbfe8d74a1573c2f81ea6dbb08d735be6.tar.xz
linux-dev-faee47cdbfe8d74a1573c2f81ea6dbb08d735be6.zip
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 <vladislav.yasevich@hp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/protocol.c')
0 files changed, 0 insertions, 0 deletions