[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200430192354.GD107658@lunn.ch>
Date: Thu, 30 Apr 2020 21:23:54 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Florian Fainelli <f.fainelli@...il.com>
Cc: netdev@...r.kernel.org, vivien.didelot@...il.com,
davem@...emloft.net, kuba@...nel.org
Subject: Re: [PATCH net-next 3/4] net: dsa: b53: Bound check ARL searches
On Thu, Apr 30, 2020 at 11:49:10AM -0700, Florian Fainelli wrote:
> ARL searches are done by reading two ARL entries at a time, do not cap
> the search at 1024 which would only limit us to half of the possible ARL
> capacity, but use b53_max_arl_entries() instead which does the right
> multiplication between bins and indexes.
>
> Signed-off-by: Florian Fainelli <f.fainelli@...il.com>
Reviewed-by: Andrew Lunn <andrew@...n.ch>
Andrew
Powered by blists - more mailing lists