Skip to content
Commit b188b032 authored by Josua Mayer's avatar Josua Mayer Committed by Marcel Holtmann
Browse files

Bluetooth: 6lowpan: search for destination address in all peers



Handle overlooked case where the target address is assigned to a peer
and neither route nor gateway exist.

For one peer, no checks are performed to see if it is meant to receive
packets for a given address.

As soon as there is a second peer however, checks are performed
to deal with routes and gateways for handling complex setups with
multiple hops to a target address.
This logic assumed that no route and no gateway imply that the
destination address can not be reached, which is false in case of a
direct peer.

Acked-by: default avatarJukka Rissanen <jukka.rissanen@linux.intel.com>
Tested-by: default avatarMichael Scott <mike@foundries.io>
Signed-off-by: default avatarJosua Mayer <josua.mayer@jm0.eu>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent 1d87b88b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment