[RFC PATCH v3 02/11] dns_resolver: Move the key type into a separate module
sashiko-bot at kernel.org
sashiko-bot at kernel.org
Fri Nov 6 00:54:03 UTC 2026
> Once keys pin to the kernel module of their key type, having the DNS key
> type in the same modules as the resolver will introduce a circular
> dependency preventing module_exit() from ever running.
>
> Introduce dns_resolver_key.ko containing key_type_dns_resolver. On a module
> exit, drop the credentials and call key_gc_flush() in order the drain the
> remaining RCU callbacks.
>
> Signed-off-by: Jarkko Sakkinen <jarkko at kernel.org>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261105005311.804098-1-jarkko@kernel.org?part=2
More information about the Linux-security-module-archive
mailing list