All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] patch for "diff in charge" errors
@ 2002-05-16 16:23 Martin Devera
  2002-05-16 19:25 ` Nils Lichtenfeld
  2002-05-16 19:27 ` Martin Devera
  0 siblings, 2 replies; 3+ messages in thread
From: Martin Devera @ 2002-05-16 16:23 UTC (permalink / raw)
  To: lartc

[-- Attachment #1: Type: TEXT/PLAIN, Size: 520 bytes --]

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

[-- Attachment #2: patch --]
[-- Type: TEXT/PLAIN, Size: 282 bytes --]

--- 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
 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-05-16 19:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-16 16:23 [LARTC] patch for "diff in charge" errors Martin Devera
2002-05-16 19:25 ` Nils Lichtenfeld
2002-05-16 19:27 ` Martin Devera

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.