Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: Martin Devera <devik@cdi.cz>
To: lartc@vger.kernel.org
Subject: [LARTC] patch for "diff in charge" errors
Date: Thu, 16 May 2002 16:23:37 +0000	[thread overview]
Message-ID: <marc-lartc-102156627228591@msgid-missing> (raw)

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

             reply	other threads:[~2002-05-16 16:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-16 16:23 Martin Devera [this message]
2002-05-16 19:25 ` [LARTC] patch for "diff in charge" errors Nils Lichtenfeld
2002-05-16 19:27 ` Martin Devera

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-lartc-102156627228591@msgid-missing \
    --to=devik@cdi.cz \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox