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] [day] [month] [year] [list]
Message-ID: <20190208100124.56377c01@hermes.lan>
Date:   Fri, 8 Feb 2019 10:01:24 -0800
From:   Stephen Hemminger <stephen@...workplumber.org>
To:     Marcos Antonio Moraes <marcos.antonio@...irati.com.br>
Cc:     netdev@...r.kernel.org
Subject: Re: [PATCH iproute2] tc: use bits not mbits/sec in rate percent

On Thu,  7 Feb 2019 13:29:54 -0200
Marcos Antonio Moraes <marcos.antonio@...irati.com.br> wrote:

> As /sys/class/net/<iface>/speed indicates a value in Mbits/sec, the
> conversion is necessary to create the correct limits.
> 
> This guarantees the same result for the following commands in an
> 1000Mbit/sec device:
> 
> tc class add ... htb rate 500Mbit
> tc class add ... htb rate 50%
> 
> Fixes: 927e3cfb52b5 ("tc: B.W limits can now be specified in %.")
> Signed-off-by: Marcos Antonio Moraes <marcos.antonio@...irati.com.br>

Sure applied.


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ