* [PATCH bluetooth-next] 6lowpan: add request for ipv6 module
@ 2015-06-21 15:11 Alexander Aring
2015-06-22 7:31 ` Jukka Rissanen
2015-06-22 10:24 ` Marcel Holtmann
0 siblings, 2 replies; 3+ messages in thread
From: Alexander Aring @ 2015-06-21 15:11 UTC (permalink / raw)
To: linux-wpan; +Cc: linux-bluetooth, kernel, jukka.rissanen, Alexander Aring
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>
---
net/6lowpan/iphc.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/net/6lowpan/iphc.c b/net/6lowpan/iphc.c
index 94a375c..9055d7b 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");
--
2.4.1
--
To unsubscribe from this list: send the line "unsubscribe linux-wpan" in
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH bluetooth-next] 6lowpan: add request for ipv6 module
2015-06-21 15:11 [PATCH bluetooth-next] 6lowpan: add request for ipv6 module Alexander Aring
@ 2015-06-22 7:31 ` Jukka Rissanen
2015-06-22 10:24 ` Marcel Holtmann
1 sibling, 0 replies; 3+ messages in thread
From: Jukka Rissanen @ 2015-06-22 7:31 UTC (permalink / raw)
To: Alexander Aring; +Cc: linux-wpan, linux-bluetooth, kernel
Hi Alex,
On su, 2015-06-21 at 17:11 +0200, Alexander Aring wrote:
> 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>
> ---
> net/6lowpan/iphc.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/net/6lowpan/iphc.c b/net/6lowpan/iphc.c
> index 94a375c..9055d7b 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");
Acked-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
Cheers,
Jukka
--
To unsubscribe from this list: send the line "unsubscribe linux-wpan" in
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH bluetooth-next] 6lowpan: add request for ipv6 module
2015-06-21 15:11 [PATCH bluetooth-next] 6lowpan: add request for ipv6 module Alexander Aring
2015-06-22 7:31 ` Jukka Rissanen
@ 2015-06-22 10:24 ` Marcel Holtmann
1 sibling, 0 replies; 3+ messages in thread
From: Marcel Holtmann @ 2015-06-22 10:24 UTC (permalink / raw)
To: Alexander Aring; +Cc: linux-wpan, linux-bluetooth, kernel, jukka.rissanen
Hi Alex,
> 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>
> ---
> net/6lowpan/iphc.c | 2 ++
> 1 file changed, 2 insertions(+)
patch has been applied to bluetooth-next tree.
Regards
Marcel
--
To unsubscribe from this list: send the line "unsubscribe linux-wpan" in
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-06-22 10:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-21 15:11 [PATCH bluetooth-next] 6lowpan: add request for ipv6 module Alexander Aring
2015-06-22 7:31 ` Jukka Rissanen
2015-06-22 10:24 ` Marcel Holtmann
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.