Re: [Patch] net: af_key: check encryption module availability consistency

From: Steffen Klassert
Date: Wed May 18 2022 - 04:13:47 EST


On Wed, May 18, 2022 at 08:32:18AM +0200, Thomas Bartschies wrote:
> 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>

Applied, thanks!