[Devel] [PATCH rh7 2/6] ve/kmod/crypto: add alias net-pf-16-proto-21 for crypto_user module
Konstantin Khorenko
khorenko at virtuozzo.com
Thu Jun 15 19:51:28 MSK 2023
If NETLINK_CRYPTO sockets are in use, kernel tries to load crypto_user
module using generic style alias net-pf-$PROTOCOL_FAMILY-proto-$PROTOCOL.
But for crypto_user such an alias is missing, so fix it.
https://jira.vzint.dev/browse/PSBM-147375
Signed-off-by: Konstantin Khorenko <khorenko at virtuozzo.com>
---
crypto/crypto_user.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/crypto/crypto_user.c b/crypto/crypto_user.c
index afe4fd19b67f..bbf7399a9461 100644
--- a/crypto/crypto_user.c
+++ b/crypto/crypto_user.c
@@ -601,3 +601,4 @@ module_exit(crypto_user_exit);
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Steffen Klassert <steffen.klassert at secunet.com>");
MODULE_DESCRIPTION("Crypto userspace configuration API");
+MODULE_ALIAS_NET_PF_PROTO(PF_NETLINK, NETLINK_CRYPTO);
--
2.24.3
More information about the Devel
mailing list