]> git.baikalelectronics.ru Git - kernel.git/commit
[SCTP]: heartbeats exceed maximum retransmssion limit
authorVlad Yasevich <vladislav.yasevich@hp.com>
Tue, 31 Jan 2006 00:00:40 +0000 (16:00 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 31 Jan 2006 00:00:40 +0000 (16:00 -0800)
commitdd75c0c9373da3eb59a612c11b433930edbb8a4f
tree26aff65b275398addfe4cd8013b9efea3ff42016
parent01667d00a5f75fa3a9fc610cd869f785c0c6642b
[SCTP]: heartbeats exceed maximum retransmssion limit

The number of HEARTBEAT chunks that an association may transmit is
limited by Association.Max.Retrans count; however, the code allows
us to send one extra heartbeat.

This patch limits the number of heartbeats to the maximum count.

Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: Sridhar Samudrala <sri@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/sm_statefuns.c