[Devel] [PATCH rh8 28/28] ve/kmod/whitelist: Make fib modules autoloadable from CT
Konstantin Khorenko
khorenko at virtuozzo.com
Tue Apr 13 11:25:38 MSK 2021
From: Pavel Tikhomirov <ptikhomirov at virtuozzo.com>
Need it for docker Docker nat rules c/r in nft based environment.
https://jira.sw.ru/browse/PSBM-125002
Signed-off-by: Pavel Tikhomirov <ptikhomirov at virtuozzo.com>
++++
ve/kmod: fix misprint in fib modules autoload allow rules
When testing criu to suspend resume "fib" rules I found out that we have
wrong names for fib module aliases, and thus can't load them on restore
if they are not yet loaded.
Perf shows when restoring centos 8 CT with docker:
probe:module_payload_iptable_allowed: module_string="nft-expr-2-fib"
https://jira.sw.ru/browse/PSBM-125002
Fixes: 84beb0e73874a ("ve/kmod: make fib modules autoloadable from CT")
Signed-off-by: Pavel Tikhomirov <ptikhomirov at virtuozzo.com>
(cherry picked from vz7 commit ("f4eb6e8a5a78 ve/kmod: make fib modules
autoloadable from CT")
Signed-off-by: Konstantin Khorenko <khorenko at virtuozzo.com>
---
kernel/kmod.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/kernel/kmod.c b/kernel/kmod.c
index 76ba61e7ab64..a5602357fbfa 100644
--- a/kernel/kmod.c
+++ b/kernel/kmod.c
@@ -234,6 +234,7 @@ static const char * const ve0_allowed_mod[] = {
"nf_synproxy_core",
"nft-set",
+ "nft_fib",
"nf_tproxy_ipv4",
"nf_tproxy_ipv6",
--
2.28.0
More information about the Devel
mailing list