Subject: Re: [PATCH net-next 2/3] net: dsa: mv88e6xxx: Fix off-by-one in VTU devlink region size

From: Andrew Lunn <[email-masked]>
Date: Wed, 21 Apr 2021 14:23:29 +0200

On Wed, Apr 21, 2021 at 02:04:53PM +0200, Tobias Waldekranz wrote:
> In the unlikely event of the VTU being loaded to the brim with 4k
> entries, the last one was placed in the buffer, but the size reported
> to devlink was off-by-one. Make sure that the final entry is available
> to the caller.
> 
> Fixes: ca4d632aef03 ("net: dsa: mv88e6xxx: Export VTU as devlink region")
> Signed-off-by: Tobias Waldekranz <[email-masked]>

The snapshot code gets it right, but not this :-(

Reviewed-by: Andrew Lunn <[email-masked]>

    Andrew