tcp: Improve RFC3517bis support
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Fri, 18 May 2012 02:33:21 +0000 (10:33 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Fri, 18 May 2012 06:47:47 +0000 (14:47 +0800)
commit27f4bf33a422f9e803c99486da10d8bc052a5493
treea3aa76addb86e9560a41a6c338c0f0f4b32612be
parent06bb314fa00e37de0400b34de21093ef05b00c9e
tcp: Improve RFC3517bis support

- Factor out tcp_fast_recovery()
- Delay fast retransmit or fast recovery for duplicated ACK which
  carries data or updates receiving window, so that
  o  The segments sent by fast retransmit/recovery could carry
     proper ack sequence and SACK information.
  o  Receiving window could get updated, so more new data could be
     injected into the network by the fast recovery.
sys/netinet/tcp_input.c