Hi All,

in htb 3.3 I turned on more debugs for bad timestamps. As result
we found another bug in all 2.4 (and probably 2.2) kernels.
Because the bug is from today I attached patch. It is no harm
to apply it in every case.
It will get rid of these:
May 14 09:31:00 kernel: HTB: bad diff in charge, diff=1310000
  now=6873088 then=4281851904 j=525127
May 14 09:31:00 kernel: HTB: bad diff in charge, diff=1310000
  now=6873088 then=4281851904 j=525127

(hopefuly). I'll probably make it part of future HTB patches.
devik
--- linux-2.4orig/include/net/pkt_sched.h       Sun Dec  9 21:15:25 2001
+++ oldlin/include/net/pkt_sched.h      Thu May 16 16:45:00 2002
@@ -221,7 +221,7 @@
 
 #define PSCHED_EXPORTLIST_2
 
-#if ~0UL == 0xFFFFFFFF
+#if BITS_PER_LONG <= 32
 
 #define PSCHED_WATCHER unsigned long
 

Reply via email to