]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[SCTP]: Limit association max_retrans setting in setsockopt.
authorVlad Yasevich <vladislav.yasevich@hp.com>
Sun, 18 Jun 2006 05:54:51 +0000 (22:54 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 18 Jun 2006 05:54:51 +0000 (22:54 -0700)
commit402d68c43326d2f0e7e2e9a9013cd4c098d9b87c
treea493d4130e07f14e29e89cc746a59475cbb073f4
parentc7ce1ae21223fe1f905feba272bc14b87994a57d
[SCTP]: Limit association max_retrans setting in setsockopt.

When using ASSOCINFO socket option, we need to limit the number of
maximum association retransmissions to be no greater than the sum
of all the path retransmissions. This is specified in Section 7.1.2
of the SCTP socket API draft.
However, we only do this if the association has multiple paths. If
there is only one path, the protocol stack will use the
assoc_max_retrans setting when trying to retransmit packets.

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