]> git.baikalelectronics.ru Git - kernel.git/commit
[SCTP]: correct the number of INIT retransmissions
authorVlad Yasevich <vladislav.yasevich@hp.com>
Mon, 30 Jan 2006 23:59:54 +0000 (15:59 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 30 Jan 2006 23:59:54 +0000 (15:59 -0800)
commit01667d00a5f75fa3a9fc610cd869f785c0c6642b
tree70bcfbad6cb4076b16da72f7c7f31be65b7e7dfc
parent3185a7d4fd132fec20f37eb45c3fcc1391e1f2b8
[SCTP]: correct the number of INIT retransmissions

We currently count the initial INIT/COOKIE_ECHO chunk toward the
retransmit count and thus sends a total of sctp_max_retrans_init chunks.
The correct behavior is to retransmit the chunk sctp_max_retrans_init in
addition to sending the original.

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
net/sctp/socket.c