c2b81901f50ae683e9f157fb45de7a99ade43b3f
[openwrt.git] / target / linux / generic-2.4 / patches / 213-htb_disable_hysteresis.patch
1 Index: linux-2.4.35.4/net/sched/sch_htb.c
2 ===================================================================
3 --- linux-2.4.35.4.orig/net/sched/sch_htb.c     2007-12-15 05:20:00.751883092 +0100
4 +++ linux-2.4.35.4/net/sched/sch_htb.c  2007-12-15 05:20:00.959894945 +0100
5 @@ -74,7 +74,7 @@
6  #define HTB_EWMAC 2    /* rate average over HTB_EWMAC*HTB_HSIZE sec */
7  #define HTB_DEBUG 1    /* compile debugging support (activated by tc tool) */
8  #define HTB_RATECM 1    /* whether to use rate computer */
9 -#define HTB_HYSTERESIS 1/* whether to use mode hysteresis for speedup */
10 +#define HTB_HYSTERESIS 0/* whether to use mode hysteresis for speedup */
11  #define HTB_QLOCK(S) spin_lock_bh(&(S)->dev->queue_lock)
12  #define HTB_QUNLOCK(S) spin_unlock_bh(&(S)->dev->queue_lock)
13  #define HTB_VER 0x30011        /* major must be matched with number suplied by TC as version */