Otherwise, in case of destination node does not have
modules loaded, CT migration fails.

https://jira.sw.ru/browse/PSBM-90319

Signed-off-by: Kirill Tkhai <ktk...@virtuozzo.com>

(cherry picked from vz7 commit
 c92758e6ea45 ("net: Allow autoloading conntrack nft-helper-* modules"))

Signed-off-by: Konstantin Khorenko <khore...@virtuozzo.com>
---
 kernel/kmod.c |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/kernel/kmod.c b/kernel/kmod.c
index b84bfdf216ff..da0e72fe7de7 100644
--- a/kernel/kmod.c
+++ b/kernel/kmod.c
@@ -336,6 +336,10 @@ bool module_payload_allowed(const char *module)
            !strncmp("nfct-helper-",    module, 12))
                return true;
 
+       /* nfct-helper-* modules */
+       if (!strncmp("nfct-helper-", module, 12))
+               return true;
+
        return false;
 }
 #endif /* CONFIG_VE */


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

Reply via email to