linux/net/sctp
Vlad Yasevich b6157d8e03 SCTP: Fix difference cases of retransmit.
Commit d0ce92910b broke several retransmit
cases including fast retransmit.  The reason is that we should
only delay by rto while doing retranmists as a result of a timeout.
Retransmit as a result of path mtu discover, fast retransmit, or
other evernts that should trigger immidiate retransmissions got broken.

Also, since rto is doubled prior to marking of packets elegable for
retransmission, we never marked correct chunks anyway.

The fix is provide a reason for a given retransmission so that we
can mark chunks appropriately and to save the old rto value to do
comparisons against.

All regressions tests passed with this code.

Spotted by Wei Yongjun <yjwei@cn.fujitsu.com>

Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
2007-11-07 11:39:27 -05:00
..
associola.c [SCTP]: Implement the receive and verification of AUTH chunk 2007-10-10 16:51:31 -07:00
auth.c SCTP endianness annotations regression 2007-10-29 07:41:32 -07:00
bind_addr.c fix sctp_del_bind_addr() last argument type 2007-09-26 09:22:04 -07:00
chunk.c [SCTP]: Enable the sending of the AUTH chunk. 2007-10-10 16:51:31 -07:00
command.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
crc32c.c [SCTP]: #if 0 sctp_update_copy_cksum() 2007-10-26 04:07:20 -07:00
debug.c [NET]: Fix comparisons of unsigned < 0. 2007-06-03 18:08:47 -07:00
endpointola.c [SCTP]: Implement the receive and verification of AUTH chunk 2007-10-10 16:51:31 -07:00
input.c [SCTP]: Implement the receive and verification of AUTH chunk 2007-10-10 16:51:31 -07:00
inqueue.c [SCTP]: Implement the receive and verification of AUTH chunk 2007-10-10 16:51:31 -07:00
ipv6.c [NET]: Forget the zero_it argument of sk_alloc() 2007-11-01 00:39:31 -07:00
Kconfig [SCTP]: Use menuconfig objects. 2007-05-24 16:36:48 -07:00
Makefile [SCTP]: Implement SCTP-AUTH internals 2007-10-10 16:51:29 -07:00
objcnt.c [SCTP]: Implement SCTP-AUTH internals 2007-10-10 16:51:29 -07:00
output.c [SCTP]: Enable the sending of the AUTH chunk. 2007-10-10 16:51:31 -07:00
outqueue.c SCTP: Fix difference cases of retransmit. 2007-11-07 11:39:27 -05:00
primitive.c [NET] SCTP: Fix whitespace errors. 2007-02-10 23:20:11 -08:00
proc.c [NET]: Make all initialized struct seq_operations const. 2007-07-10 23:07:31 -07:00
protocol.c [NET]: Forget the zero_it argument of sk_alloc() 2007-11-01 00:39:31 -07:00
sm_make_chunk.c SCTP : Fix to process bundled ASCONF chunk correctly 2007-11-07 11:39:27 -05:00
sm_sideeffect.c SCTP: Fix difference cases of retransmit. 2007-11-07 11:39:27 -05:00
sm_statefuns.c SCTP: Fix difference cases of retransmit. 2007-11-07 11:39:27 -05:00
sm_statetable.c [SCTP]: Implement the receive and verification of AUTH chunk 2007-10-10 16:51:31 -07:00
socket.c [SCTP]: Use the {DEFINE|REF}_PROTO_INUSE infrastructure 2007-11-07 04:09:00 -08:00
ssnmap.c [PATCH] gfp flags annotations - part 1 2005-10-08 15:00:57 -07:00
sysctl.c [SCTP]: Implement SCTP-AUTH initializations. 2007-10-10 16:51:30 -07:00
transport.c SCTP: Fix difference cases of retransmit. 2007-11-07 11:39:27 -05:00
tsnmap.c sctp: fix shadow symbol in net/sctp/tsnmap.c 2007-08-01 11:19:06 -04:00
ulpevent.c [SCTP]: API updates to suport SCTP-AUTH extensions. 2007-10-10 16:51:32 -07:00
ulpqueue.c [SCTP]: Consolidate sctp_ulpq_renege_xxx functions 2007-10-23 21:27:52 -07:00