Re: [PATCH 1/3] selftests/net: Argument value mismatch when calling verify_counters()

From: Simon Horman
Date: Fri Jan 19 2024 - 11:27:08 EST


On Thu, Jan 18, 2024 at 02:51:34AM +0000, Dmitry Safonov wrote:
> From: Mohammad Nassiri <mnassiri@xxxxxxxxx>
>
> The end_server() function only operates in the server thread
> and always takes an accept socket instead of a listen socket as
> its input argument. To align with this, invert the boolean values
> used when calling verify_counters() within the end_server() function.

Hi Dmitry,

I see that this is correct, but I am wondering
if it fixes a user-visible bug. If so, could
some text about that go here?

>
> Fixes: 3c3ead555648 ("selftests/net: Add TCP-AO key-management test")
> Signed-off-by: Mohammad Nassiri <mnassiri@xxxxxxxxx>
> Link: https://lore.kernel.org/all/934627c5-eebb-4626-be23-cfb134c01d1a@xxxxxxxxxx/
> [amended 'Fixes' tag and carried-over to lkml]
> Signed-off-by: Dmitry Safonov <dima@xxxxxxxxxx>

..