summaryrefslogtreecommitdiffstats
path: root/net/wanrouter
diff options
context:
space:
mode:
authorDoug Leith <doug.leith@nuim.ie>2008-11-12 01:41:09 -0800
committerDavid S. Miller <davem@davemloft.net>2008-11-12 01:41:09 -0800
commit8f65b5354b1a34a536641bd915958662e8af5320 (patch)
tree2870ccd815f0d8524487c1d33aa6349244e33b16 /net/wanrouter
parentd809a1595610a7c0b0bd55f159e5dc37def0ac28 (diff)
downloadkernel-crypto-8f65b5354b1a34a536641bd915958662e8af5320.tar.gz
kernel-crypto-8f65b5354b1a34a536641bd915958662e8af5320.tar.xz
kernel-crypto-8f65b5354b1a34a536641bd915958662e8af5320.zip
tcp_htcp: last_cong bug fix
This patch fixes a minor bug in tcp_htcp.c which has been highlighted by Lachlan Andrew and Lawrence Stewart. Currently, the time since the last congestion event, which is stored in variable last_cong, is reset whenever there is a state change into TCP_CA_Open. This includes transitions of the type TCP_CA_Open->TCP_CA_Disorder->TCP_CA_Open which are not associated with backoff of cwnd. The patch changes last_cong to be updated only on transitions into TCP_CA_Open that occur after experiencing the congestion-related states TCP_CA_Loss, TCP_CA_Recovery, TCP_CA_CWR. Signed-off-by: Doug Leith <doug.leith@nuim.ie> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/wanrouter')
0 files changed, 0 insertions, 0 deletions