summaryrefslogtreecommitdiffstats
path: root/net/6lowpan/iphc.c
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2015-06-21 17:11:19 +0200
committerMarcel Holtmann <marcel@holtmann.org>2015-07-23 17:10:48 +0200
commit301d7d42a207e0d4f5bf11c7e2b6862ddebc8c36 (patch)
treea7e289cb4c3611c844545a992ee5a4707eed96a3 /net/6lowpan/iphc.c
parentmac802154: add llsec address update workaround (diff)
downloadlinux-301d7d42a207e0d4f5bf11c7e2b6862ddebc8c36.tar.xz
linux-301d7d42a207e0d4f5bf11c7e2b6862ddebc8c36.zip
6lowpan: add request for ipv6 module
The iphc module depends on CONFIG_IPV6, because it's not very useful to build the module without IPv6 support. Recently an user reported about issues for setting an IPv6 address to a 6LoWPAN interface. The issues was solved by modprobe the ipv6 module before. To avoid such user issues we try to request the ipv6 module when the 6LoWPAN module is loaded. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Acked-by: Jukka Rissanen <jukka.rissanen@linux.intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/6lowpan/iphc.c')
-rw-r--r--net/6lowpan/iphc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/6lowpan/iphc.c b/net/6lowpan/iphc.c
index 94a375c04f21..9055d7b9d112 100644
--- a/net/6lowpan/iphc.c
+++ b/net/6lowpan/iphc.c
@@ -613,6 +613,8 @@ EXPORT_SYMBOL_GPL(lowpan_header_compress);
static int __init lowpan_module_init(void)
{
+ request_module_nowait("ipv6");
+
request_module_nowait("nhc_dest");
request_module_nowait("nhc_fragment");
request_module_nowait("nhc_hop");