[RHEL7,COMMIT] ve/kmod: enable autoload for nf_tables_inet module from inside a CT

Submitted by Konstantin Khorenko on Nov. 13, 2019, 2:28 p.m.

Details

Message ID 201911131428.xADESFB8024086@finist-ce7.sw.ru
State New
Series "ve/kmod: enable autoload for nf_tables_inet module from inside a CT"
Headers show

Commit Message

Konstantin Khorenko Nov. 13, 2019, 2:28 p.m.
The commit is pushed to "branch-rh7-3.10.0-1062.4.2.vz7.116.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-1062.4.2.el7
------>
commit 4948a0be15354f43ea2e58f63372f4262f49425a
Author: Konstantin Khorenko <khorenko@virtuozzo.com>
Date:   Wed Nov 13 17:23:22 2019 +0300

    ve/kmod: enable autoload for nf_tables_inet module from inside a CT
    
    nf_tables_{ipv4,ipv6,arp} modules are allowed already for
    autoload, but nf_tables_inet is forgotten.
    
    Allow nf_tables_inet as well.
    
    https://jira.sw.ru/browse/PSBM-99406
    
    Signed-off-by: Konstantin Khorenko <khorenko@virtuozzo.com>
---
 kernel/kmod.c | 1 +
 1 file changed, 1 insertion(+)

Patch hide | download patch | download mbox

diff --git a/kernel/kmod.c b/kernel/kmod.c
index bd6d199189b7..477d25c5aa9a 100644
--- a/kernel/kmod.c
+++ b/kernel/kmod.c
@@ -287,6 +287,7 @@  static struct {
 	{ "nfnetlink-subsys-10",VE_IP_IPTABLES			}, /* nf_tables */
 	{ "nfnetlink-subsys-11",VE_IP_IPTABLES			}, /* nft_compat */
 	{ "nft-set",		VE_IP_IPTABLES			},
+	{ "nft-afinfo-1",	VE_IP_IPTABLES			}, /* INET */
 	{ "nft-afinfo-2",	VE_IP_IPTABLES			}, /* IPV4 */
 	{ "nft-afinfo-3",	VE_IP_IPTABLES			}, /* ARP  */
 	{ "nft-afinfo-10",	VE_IP_IPTABLES6			}, /* IPV6 */