--- /usr/src/linux-source-2.6.25/net/ipv4/tcp_htcp.c 2008-04-17 12:49:44.000000000 +1000 +++ tcp_htcp.c 2008-10-24 17:02:27.000000000 +1100 @@ -22,6 +22,10 @@ module_param(use_bandwidth_switch, int, 0644); MODULE_PARM_DESC(use_bandwidth_switch, "turn on/off bandwidth switcher"); +static int use_adaptive_backoff __read_mostly = 1; +module_param(use_adaptive_backoff, int, 0644); +MODULE_PARM_DESC(use_adaptive_backoff, "turn on/off adaptive backoff"); + struct htcp { u32 alpha; /* Fixed point arith, << 7 */ u8 beta; /* Fixed point arith, << 7 */ @@ -155,7 +159,7 @@ } } - if (ca->modeswitch && minRTT > msecs_to_jiffies(10) && maxRTT) { + if (use_adaptive_backoff && ca->modeswitch && minRTT > msecs_to_jiffies(10) && maxRTT) { ca->beta = (minRTT << 7) / maxRTT; if (ca->beta < BETA_MIN) ca->beta = BETA_MIN;