[Devel,RHEL7,COMMIT] ve/kmod/whitelist: allow dummy module autoloading

Submitted by Kirill Tkhai on Oct. 3, 2016, 9:01 a.m.


Message ID 201610030901.u9391spv006781@pro
State New
Series "ve/kmod/whitelist: allow dummy module autoloading"
Headers show

Commit Message

Kirill Tkhai Oct. 3, 2016, 9:01 a.m.
The commit is pushed to "branch-rh7-3.10.0-327.36.1.vz7.18.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-327.36.1.vz7.18.3
commit 30c0b9e216cb37ad6b55f0ca8f2aa1741789715c
Author: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
Date:   Mon Oct 3 09:00:53 2016 +0000

    ve/kmod/whitelist: allow dummy module autoloading
    After allowing dummy devices in container in bug PSBM-43329 by commit
    6061ed860950 ("ve/net/dummy: enable support in a container") docker-ui
    testcase TestDaemonIP was unXFAIed but it still fails to create dummy
    because module is not automaticly loaded in rtnl_newlink:
    ip link add name dummy_test type dummy
    RTNETLINK answers: Operation not supported
    So allow the module.
    Signed-off-by: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
    Reviewed-by: Kirill Tkhai <ktkhai@virtuozzo.com>
 kernel/kmod.c | 2 ++
 1 file changed, 2 insertions(+)

Patch hide | download patch | download mbox

diff --git a/kernel/kmod.c b/kernel/kmod.c
index ef74971..e0ef148 100644
--- a/kernel/kmod.c
+++ b/kernel/kmod.c
@@ -419,6 +419,8 @@  static const char * const ve0_allowed_mod[] = {
+	"rtnl-link-dummy",