923a60
From 7076491959d3e67f339a520dcdfb824a46ff5ccb Mon Sep 17 00:00:00 2001
923a60
From: Daniel Mack <daniel@zonque.org>
923a60
Date: Fri, 5 Jun 2015 14:59:36 +0200
923a60
Subject: [PATCH] kmod-setup: don't warn when ipv6 can't be loaded
923a60
923a60
Not having IPv6 is a valid setup. Let's not print a warning in that
923a60
case.
923a60
923a60
Addresses:
923a60
923a60
  https://bugs.freedesktop.org/show_bug.cgi?id=87475
923a60
923a60
(cherry picked from commit b4aa82f168913b7bff42017023b43933b3aa0d24)
923a60
923a60
Cherry-picked from: b4aa82f
923a60
Resolves: #1222517
923a60
---
923a60
 src/core/kmod-setup.c | 2 +-
923a60
 1 file changed, 1 insertion(+), 1 deletion(-)
923a60
923a60
diff --git a/src/core/kmod-setup.c b/src/core/kmod-setup.c
923a60
index 97f3b9b34a..6b2f29585d 100644
923a60
--- a/src/core/kmod-setup.c
923a60
+++ b/src/core/kmod-setup.c
923a60
@@ -66,7 +66,7 @@ int kmod_setup(void) {
923a60
                 { "autofs4",   "/sys/class/misc/autofs",    true,  NULL                },
923a60
 
923a60
                 /* early configure of ::1 on the loopback device */
923a60
-                { "ipv6",      "/sys/module/ipv6",          true,  NULL                },
923a60
+                { "ipv6",      "/sys/module/ipv6",          false,  NULL               },
923a60
 
923a60
                 /* this should never be a module */
923a60
                 { "unix",      "/proc/net/unix",            true,  NULL                },