2008-01-06 19:28:07 +00:00
|
|
|
Index: linux-2.4.35.4/net/sched/sch_htb.c
|
|
|
|
===================================================================
|
2008-05-19 13:44:11 +00:00
|
|
|
--- linux-2.4.35.4.orig/net/sched/sch_htb.c
|
|
|
|
+++ linux-2.4.35.4/net/sched/sch_htb.c
|
2005-11-15 13:22:57 +00:00
|
|
|
@@ -74,7 +74,7 @@
|
|
|
|
#define HTB_EWMAC 2 /* rate average over HTB_EWMAC*HTB_HSIZE sec */
|
|
|
|
#define HTB_DEBUG 1 /* compile debugging support (activated by tc tool) */
|
|
|
|
#define HTB_RATECM 1 /* whether to use rate computer */
|
|
|
|
-#define HTB_HYSTERESIS 1/* whether to use mode hysteresis for speedup */
|
|
|
|
+#define HTB_HYSTERESIS 0/* whether to use mode hysteresis for speedup */
|
|
|
|
#define HTB_QLOCK(S) spin_lock_bh(&(S)->dev->queue_lock)
|
|
|
|
#define HTB_QUNLOCK(S) spin_unlock_bh(&(S)->dev->queue_lock)
|
|
|
|
#define HTB_VER 0x30011 /* major must be matched with number suplied by TC as version */
|