[Devel] [PATCH RHEL7 COMMIT] ve/kmod/crypto: add alias net-pf-16-proto-21 for crypto_user module

Konstantin Khorenko khorenko at virtuozzo.com
Thu Jun 15 20:04:27 MSK 2023


The commit is pushed to "branch-rh7-3.10.0-1160.90.1.vz7.200.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-1160.90.1.vz7.200.1
------>
commit 9b3062bc64cad808526b521d3610ebc17f73117f
Author: Konstantin Khorenko <khorenko at virtuozzo.com>
Date:   Mon Jun 12 16:04:42 2023 +0300

    ve/kmod/crypto: add alias net-pf-16-proto-21 for crypto_user module
    
    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);


More information about the Devel mailing list