Bluetooth: 6lowpan: Fix multi-link setup
Subsystems (2)
Luiz Augusto von Dentz
maintainerPATCH 1/1 Bluetooth: 6lowpan: Fix multi-link setup
From: Luiz Augusto von Dentz <[email protected]>
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 <[email protected]>
--- net/bluetooth/6lowpan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
net/bluetooth/6lowpan.c +1 -1
@@ -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);
Signature · 1 line
2.13.5
Hi Luiz,
Quoted 18 lines · Luiz Augusto von Dentz
From: Luiz Augusto von Dentz <[email protected]>
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 <[email protected]>--- net/bluetooth/6lowpan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)net/bluetooth/6lowpan.c +0
-0
net/bluetooth/6lowpan.c static inline struct lowpan_peer · line 196
Quoted 8 lines
net/bluetooth/6lowpan.c +1
-1@@ -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);
Acked-by Jukka Rissanen <[email protected]>
Cheers,
Jukka