Re: tc with netem on 64bit systems

From: Stephen Hemminger
Date: Wed Jun 20 2007 - 10:45:49 EST


On Wed, 20 Jun 2007 15:15:23 +0100
"Oliver Cook" <oliver.cook@xxxxxxxxxxx> wrote:

> Hi,
>
> In trying to run tc with netem to introduce latency in the lab on a
> 64bit system I discovered the following bug in get_qdisc_kind in tc.c:
>
> snprintf(buf, sizeof(buf), "/usr/lib/tc/q_%s.so", str);
>
> The path to the tc qdisc shared objects is hard-coded. On a 64bit system
> the correct path is /usr/lib64/tc/.

That is a distro choice to change the path on 64bit, not all do. So please
report it as a bug to the distro, and make them fix their package.
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html