Re: [PATCH AUTOSEL 5.17 08/12] net: af_key: check encryption module availability consistency

From: Jakub Kicinski
Date: Tue May 24 2022 - 14:09:16 EST


On Tue, 24 May 2022 11:59:22 -0400 Sasha Levin wrote:
> From: Thomas Bartschies <thomas.bartschies@xxxxxx>
>
> [ Upstream commit 015c44d7bff3f44d569716117becd570c179ca32 ]
>
> Since the recent introduction supporting the SM3 and SM4 hash algos for IPsec, the kernel
> produces invalid pfkey acquire messages, when these encryption modules are disabled. This
> happens because the availability of the algos wasn't checked in all necessary functions.
> This patch adds these checks.
>
> Signed-off-by: Thomas Bartschies <thomas.bartschies@xxxxxx>
> Signed-off-by: Steffen Klassert <steffen.klassert@xxxxxxxxxxx>
> Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

I don't see anyone else complaining yet so let me step up.

Please drop this, it's getting reverted.