Re: HTB on 64bit arch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 10 Mar 2004 19:19:24 -0700
Colin Gibbs <colin@gibbsonline.net> wrote:

> I was trying to get HTB working on an alpha. Whenever a limit for a
> class was reached, it would stop sending packets. Looking at the code, I
> noticed several comparisons like this:
>   q->near_ev_cache[cl->level] - cl->pq_key < 0x80000000
> Both of the values come from jiffies, so I changed them to use
> time_after as in the attached patch and now HTB works fine. The patch is
> against 2.6.2.

Applied, also to 2.4.x, thanks Colin.
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux