lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4A1EFA1B.2020002@gmail.com>
Date:	Thu, 28 May 2009 22:54:51 +0200
From:	Eric Dumazet <eric.dumazet@...il.com>
To:	Piotrek D <regis44@...il.com>
CC:	netdev@...r.kernel.org
Subject: Re: HTB class parameter change

Piotrek D a écrit :
> HI,
> 
> I am trying to change the rate parameter of HTB class by using this
> code from within one of my functions :
> 
>  struct htb_class *cl;
>  cl=htb_find(number,q);
> 
>  cl->rate->rate.rate = NEW_RATE_VALUE;
> 
>  TC shows the correct values, but the traffic rate doesn't change a bit.
>  Does anyboyd have any idea what am I doing wrong ? Maybe there would
> be a faster way by sending a netlink  message ?
> 
> Piotrek


You already asked this 15 hours ago and Stephen replied :

"HTB uses a rate table, so if you want the rate to change, you will need to change the
table as well."

Did you miss this answer ?

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ