]> git.karo-electronics.de Git - linux-beck.git/commit
[DCCP] CCID2: Halve cwnd once upon multiple losses in a single RTT
authorAndrea Bittau <a.bittau@cs.ucl.ac.uk>
Tue, 19 Sep 2006 20:14:43 +0000 (13:14 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 22 Sep 2006 22:19:41 +0000 (15:19 -0700)
commit374bcf32c86e1b56eab832bbb6b21e636707eab6
treec813985a0736740c683d841010b9317db0a2b1ee
parent07978aabd52ce67f59971872c80f76d6e3ca18ae
[DCCP] CCID2: Halve cwnd once upon multiple losses in a single RTT

When multiple losses occur in one RTT, the window should be halved
only once [a single "congestion event"].  This is now implemented,
although not perfectly.  Slightly changed the interface for changing
the cwnd: pass hctx instead of dp.  This is required in order to allow
for change_cwnd to be called from _init().

Signed-off-by: Andrea Bittau <a.bittau@cs.ucl.ac.uk>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dccp/ccids/ccid2.c
net/dccp/ccids/ccid2.h