]> git.baikalelectronics.ru Git - kernel.git/commit
[TCP]: Also handle snd_una changes in tcp_cwnd_down
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>
Fri, 3 Aug 2007 02:46:58 +0000 (19:46 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 3 Aug 2007 02:46:58 +0000 (19:46 -0700)
commitc5ad16effdd9f673f2c84734d258e53a3f0c4521
treeade0bd7235403397b6165a5a2e788dd739912d94
parent83b1ed20a73aa07ebf1e46b25045d4ebc21f99e8
[TCP]: Also handle snd_una changes in tcp_cwnd_down

tcp_cwnd_down must check for it too as it should be conservative
in case of collapse stuff and also when receiver is trying to
lie (though that wouldn't be very successful/useful anyway).

Note:
- Separated also is_dupack and do_lost in fast_retransalert
* Much cleaner look-and-feel now
* This time it really fixes cumulative ACK with many new
  SACK blocks recovery entry (I claimed this fixes with
  last patch but it wasn't). TCP will now call
  tcp_update_scoreboard regardless of is_dupack when
  in recovery as long as there is enough fackets_out.
- Introduce FLAG_SND_UNA_ADVANCED
* Some prior_snd_una arguments are unnecessary after it
- Added helper FLAG_ANY_PROGRESS to avoid long FLAG...|FLAG...
  constructs

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_input.c