Subject: Re: [PATCH net-next] selftests: net: netlink-dumps: validation checks

From: Simon Horman <[email-masked]>
Date: Fri, 15 Nov 2024 14:52:12 +0000

On Thu, Nov 14, 2024 at 04:32:48PM -0800, Jakub Kicinski wrote:
> The sanity checks are going to get silently cast to unsigned
> and always pass. Cast the sizeof to signed size.
> 
> Signed-off-by: Jakub Kicinski <[email-masked]>

Ouch. I checked and I couldn't see any other instances of this problem
under tools/testing/selftests/net/

Reviewed-by: Simon Horman <[email-masked]>