diff options
author | Josua Mayer <josua.mayer@jm0.eu> | 2019-07-06 18:54:46 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-07-26 10:14:16 +0300 |
commit | c814f618b799b213ffb1c7757880c8e6a58278e0 (patch) | |
tree | 0fda6e6e6151b14fbc2e4d97722002a8bdd94c56 /tools | |
parent | c82c4910e9e618e5c3024c26cc668be8a13f19bd (diff) | |
download | linux-c814f618b799b213ffb1c7757880c8e6a58278e0.tar.xz |
Bluetooth: 6lowpan: search for destination address in all peers
[ Upstream commit b188b03270b7f8568fc714101ce82fbf5e811c5a ]
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: Jukka Rissanen <jukka.rissanen@linux.intel.com>
Tested-by: Michael Scott <mike@foundries.io>
Signed-off-by: Josua Mayer <josua.mayer@jm0.eu>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions