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 <khore...@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.klass...@secunet.com>");
 MODULE_DESCRIPTION("Crypto userspace configuration API");
+MODULE_ALIAS_NET_PF_PROTO(PF_NETLINK, NETLINK_CRYPTO);
-- 
2.24.3

_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to