[RFC PATCH v3 08/11] rxrpc: Move key types to their own module

sashiko-bot at kernel.org sashiko-bot at kernel.org
Fri Nov 6 00:54:11 UTC 2026


> Once keys pin the kernel module implementing their key type, hosting rxrpc
> and rxrpc_s keys inside the same module prevents unloading the transport
> module while keys remain in keyrings or cached connections.
> 
> Split the key types and their preparse logic into a separate rxrpc_keys.ko
> module that rxrpc.ko depends on, and flush key GC on rxrpc exit.
> 
> By doing this, rxrpc.ko can be removed while the persistent keys pin only
> rxrpc_keys.ko.
> 
> Co-developed-by: David Howells <dhowells at redhat.com>
> Signed-off-by: David Howells <dhowells at redhat.com>
> 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=8




More information about the Linux-security-module-archive mailing list