From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx> If there are more than one node connected and there isn't any route information attempt to check if destination address matches any of the link-local peer addresses. Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx> --- net/bluetooth/6lowpan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/bluetooth/6lowpan.c b/net/bluetooth/6lowpan.c index 4e2576fc0c59..55370c330386 100644 --- a/net/bluetooth/6lowpan.c +++ b/net/bluetooth/6lowpan.c @@ -190,7 +190,7 @@ static inline struct lowpan_peer *peer_lookup_dst(struct lowpan_btle_dev *dev, nexthop = &lowpan_cb(skb)->gw; if (ipv6_addr_any(nexthop)) - return NULL; + nexthop = daddr; } else { nexthop = rt6_nexthop(rt, daddr); -- 2.13.5 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html