]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9db11754c11692cad3615a0ce41d347279540854
tree8b7c4b6b110fe3c439e57a393276ef21baa20056
parent1544231f6424bdc9b555bf629f730673a68fbfa1
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