[PATCH v6 10/13] rxrpc: Move key types to their own module

sashiko-bot at kernel.org sashiko-bot at kernel.org
Thu Nov 12 04:31:35 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/20261112040242.247168-1-jarkko@kernel.org?part=10




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