SCTP: Fix the number of HB transmissions.
authorVlad Yasevich <vladislav.yasevich@hp.com>
Thu, 15 Nov 2007 17:13:32 +0000 (12:13 -0500)
committerVlad Yasevich <vladislav.yasevich@hp.com>
Thu, 29 Nov 2007 15:17:41 +0000 (10:17 -0500)
commitfd10279bc7405c4f1e47a008686d3d9ad71d7f6d
tree8b7c4b6b110fe3c439e57a393276ef21baa20056
parenta357dde9df33f28611e6a3d4f88265e39bcc8880
SCTP: Fix the number of HB transmissions.

Our treatment of Heartbeats is special in that the inital HB chunk
counts against the error count for the association, where as for
other chunks, only retransmissions or timeouts count against us.
As a result, we had an off-by-1 situation with a number of
Heartbeats we could send.

Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
net/sctp/sm_statefuns.c