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: <20250901102607.0ee14e3c@kernel.org>
Date: Mon, 1 Sep 2025 10:26:07 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Simon Horman <horms@...nel.org>
Cc: davem@...emloft.net, netdev@...r.kernel.org, edumazet@...gle.com,
 pabeni@...hat.com, andrew+netdev@...n.ch, ecree.xilinx@...il.com,
 gal@...dia.com, joe@...a.to, linux-kselftest@...r.kernel.org,
 shuah@...nel.org
Subject: Re: [PATCH net-next 1/2] selftests: drv-net: rss_ctx: use Netlink
 for timed reconfig

On Mon, 1 Sep 2025 14:50:08 +0100 Simon Horman wrote:
> > -    key = _rss_key_rand(key_len)
> > +    ethnl = EthtoolFamily()
> > +    key = random.randbytes(key_len)  
> 
> Is the update to the generation of key intended?
> It's not clear to me how it relates to the rest of the patch.

_rss_key_rand() gives us an array of integers in the range 0-255 while
randomg.randbytes() gives us a bytearray. Difference in return type.

Let me respin and add this to the commit msg. Looks like I was too
aggressive with the decrease in 75msec timing, CI hit a 120msec run :(

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ