From: Jukka Rissanen <jukka.rissanen@linux.intel.com>
To: Marcel Holtmann <marcel@holtmann.org>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: [RFC 3/5] route: Exporting ip6_route_add() so that BLE 6LoWPAN can use it
Date: Wed, 23 Oct 2013 15:41:00 +0300 [thread overview]
Message-ID: <5267C3DC.6070004@linux.intel.com> (raw)
In-Reply-To: <30925AE8-AE7B-43D9-9E5D-4898C0CF8390@holtmann.org>
Hi Marcel,
On 23.10.2013 15:00, Marcel Holtmann wrote:
> Hi Jukka,
>
>> net/ipv6/route.c | 1 +
>> 1 file changed, 1 insertion(+)
>>
>> diff --git a/net/ipv6/route.c b/net/ipv6/route.c
>> index c979dd9..d7c200f 100644
>> --- a/net/ipv6/route.c
>> +++ b/net/ipv6/route.c
>> @@ -1662,6 +1662,7 @@ out:
>> dst_free(&rt->dst);
>> return err;
>> }
>> +EXPORT_SYMBOL_GPL(ip6_route_add);
>
> check with netdev is this is something that would be accepted upstream.
We could also tell userspace (bluez or connman) to create the route if
needed.
>
> For the time being, can we work around this internally for testing? I like to just build and load a new Bluetooth module for testing and not have to replace IPv6 as well.
Sure, just do
ip -6 route add <peer>
after connecting the devices.
The peer link local address is perhaps easiest to get by using online
calculator like http://ben.akrin.com/?p=1347
--
Cheers,
Jukka
next prev parent reply other threads:[~2013-10-23 12:41 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-23 6:52 [RFC 0/5] Bluetooth LE 6LoWPAN Jukka Rissanen
2013-10-23 6:52 ` [RFC 1/5] Bluetooth: Initial skeleton code for BT " Jukka Rissanen
2013-10-23 11:58 ` Marcel Holtmann
2013-10-23 6:52 ` [RFC 2/5] Bluetooth: Enable 6LoWPAN support for BT LE devices Jukka Rissanen
2013-10-23 6:52 ` [RFC 3/5] route: Exporting ip6_route_add() so that BLE 6LoWPAN can use it Jukka Rissanen
2013-10-23 12:00 ` Marcel Holtmann
2013-10-23 12:41 ` Jukka Rissanen [this message]
2013-10-23 6:52 ` [RFC 4/5] Bluetooth: Set route to peer for 6LoWPAN Jukka Rissanen
2013-10-23 6:52 ` [RFC 5/5] Bluetooth: Manually enable or disable 6LoWPAN between devices Jukka Rissanen
2013-10-23 12:09 ` Marcel Holtmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5267C3DC.6070004@linux.intel.com \
--to=jukka.rissanen@linux.intel.com \
--cc=linux-bluetooth@vger.kernel.org \
--cc=marcel@holtmann.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.