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: <dacb3ce4-7a54-4b4d-9385-0d466d159c77@broadcom.com>
Date: Sun, 2 Nov 2025 08:18:12 -0800
From: Florian Fainelli <florian.fainelli@...adcom.com>
To: Jonas Gorski <jonas.gorski@...il.com>, Andrew Lunn <andrew@...n.ch>,
 Vladimir Oltean <olteanv@...il.com>, "David S. Miller"
 <davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>,
 Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
 Vivien Didelot <vivien.didelot@...il.com>
Cc: Florian Fainelli <f.fainelli@...il.com>, netdev@...r.kernel.org,
 linux-kernel@...r.kernel.org
Subject: Re: [PATCH net 3/3] net: dsa: b53: properly bound ARL searches for <
 4 ARL bin chips



On 11/2/2025 2:07 AM, Jonas Gorski wrote:
> When iterating over the ARL table we stop at max ARL entries / 2, but
> this is only valid if the chip actually returns 2 results at once. For
> chips with only one result register we will stop before reaching the end
> of the table if it is more than half full.
> 
> Fix this by only dividing the maximum results by two if we have a chip
> with more than one result register (i.e. those with 4 ARL bins).
> 
> Fixes: cd169d799bee ("net: dsa: b53: Bound check ARL searches")
> Signed-off-by: Jonas Gorski <jonas.gorski@...il.com>

Reviewed-by: Florian Fainelli <florian.fainelli@...adcom.com>
-- 
Florian


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ