ipvs: autoload ipvs on genl access
Subsystems (4)
PATCH 1/1 ipvs: autoload ipvs on genl access
The kernel provides the functionality to automatically load modules providing genl families. Use this to remove the need for users to manually load the module.
--- net/netfilter/ipvs/ip_vs_ctl.c | 2 ++ 1 file changed, 2 insertions(+)
net/netfilter/ipvs/ip_vs_ctl.c +2 -0
@@ -48,6 +48,8 @@#include <net/ip_vs.h> +MODULE_ALIAS_GENL_FAMILY (IPVS_GENL_NAME ); +/* semaphore for IPVS sockopts. And, [gs]etsockopt may sleep. */ static DEFINE_MUTEX (__ip_vs_mutex);
base-commit: d9aaaf223297f6146d9d7f36caca927c92ab855a
Signature · 1 line
2.33.1
Hello,
Quoted 5 lines · Thomas Weißschuh
The kernel provides the functionality to automatically load modules providing genl families. Use this to remove the need for users to manually load the module.
Signed-off-by Thomas Weißschuh <[email protected]>
Looks good to me for -next tree, thanks!
Quoted 18 lines
--- net/netfilter/ipvs/ip_vs_ctl.c | 2 ++ 1 file changed, 2 insertions(+)net/netfilter/ipvs/ip_vs_ctl.c +2
-0@@ -48,6 +48,8 @@#include <net/ip_vs.h> +MODULE_ALIAS_GENL_FAMILY (IPVS_GENL_NAME ); +/* semaphore for IPVS sockopts. And, [gs]etsockopt may sleep. */ static DEFINE_MUTEX (__ip_vs_mutex);
Quoted 3 lines
base-commit:
d9aaaf223297f6146d9d7f36caca927c92ab855aSignature · 1 line
2.33.1
Regards
Quoted 9 lines · Julian Anastasov
Hello,
Quoted 4 lines · Thomas Weißschuh
The kernel provides the functionality to automatically load modules providing genl families. Use this to remove the need for users to manually load the module.
Quoted 5 lines
Quoted 1 line
Signed-off-by Thomas Weißschuh <[email protected]>Looks good to me for -next tree, thanks!
Acked-by Julian Anastasov <[email protected]>
Quoted 3 lines · Thomas Weißschuh
The kernel provides the functionality to automatically load modules providing genl families. Use this to remove the need for users to manually load the module.
Applied, thanks