From 2dc1de2286bbf72afd8009188e1e1ec9fb35f804 Mon Sep 17 00:00:00 2001 From: He Zhe Date: Wed, 26 Sep 2018 19:26:43 +0800 Subject: kernel: forcedly load nf_conntrack_ipv6 to work around kernel module loading failure In the v4.18 kernel, there is a problem with the locking and init sequence of the kernel modules. This would cause nf_conntrack_ipv6 failed to be loaded. In kernel v4.19, nf_conntrack_ipv6 has been merged to nf_conntrack and the problematic code has gone. This patch just works around by forcedly loading nf_conntrack_ipv6. Signed-off-by: He Zhe Signed-off-by: Bruce Ashfield --- recipes-kernel/linux/linux-yocto_virtualization.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-kernel/linux/linux-yocto_virtualization.inc b/recipes-kernel/linux/linux-yocto_virtualization.inc index c09b07c2..5d3cbc66 100644 --- a/recipes-kernel/linux/linux-yocto_virtualization.inc +++ b/recipes-kernel/linux/linux-yocto_virtualization.inc @@ -8,7 +8,7 @@ SRC_URI += "file://xt-checksum.scc \ " KERNEL_FEATURES_append = " ${@bb.utils.contains('DISTRO_FEATURES', 'kvm', 'features/kvm/qemu-kvm-enable.scc', '', d)}" -KERNEL_MODULE_AUTOLOAD += "openvswitch" +KERNEL_MODULE_AUTOLOAD += "nf_conntrack_ipv6 openvswitch" KERNEL_MODULE_AUTOLOAD += "${@bb.utils.contains('DISTRO_FEATURES', 'kvm', 'kvm', '', d)}" # aufs kernel support required for xen-image-minimal -- cgit v1.2.3-54-g00ecf