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: <CAM_iQpXKPKN3JwdvdqLUbqmKeT+xnjnnQ4Gz33D0myTHAM4scQ@mail.gmail.com>
Date: Sat, 13 Sep 2025 22:06:10 -0700
From: Cong Wang <xiyou.wangcong@...il.com>
To: Victor Nogueira <victor@...atatu.com>
Cc: jhs@...atatu.com, jiri@...nulli.us, kuba@...nel.org, pabeni@...hat.com, 
	netdev@...r.kernel.org, jay.vosburgh@...onical.com
Subject: Re: [PATCH net-next] selftests/tc-testing: Adapt tc police action
 tests for Gb rounding changes

On Fri, Sep 12, 2025 at 8:46 AM Victor Nogueira <victor@...atatu.com> wrote:
>
> For the tc police action, iproute2 rounds up mtu and burst sizes to a
> higher order representation. For example, if the user specifies the default
> mtu for a police action instance (4294967295 bytes), iproute2 will output
> it as 4096Mb when this action instance is dumped. After Jay's changes [1],
> iproute2 will round up to Gb, so 4096Mb becomes 4Gb. With that in mind,
> fix police's tc test output so that it works both with the current
> iproute2 version and Jay's.
>
> [1] https://lore.kernel.org/netdev/20250907014216.2691844-1-jay.vosburgh@canonical.com/
>
> Signed-off-by: Victor Nogueira <victor@...atatu.com>

Reviewed-by: Cong Wang <cwang@...tikernel.io>

Thanks!

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ