]> git.ipfire.org Git - thirdparty/linux.git/commit
Bluetooth: 6lowpan: always check destination address
authorJosua Mayer <josua.mayer@jm0.eu>
Sat, 6 Jul 2019 15:54:48 +0000 (17:54 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 6 Jul 2019 19:33:55 +0000 (21:33 +0200)
commit688d94fd0d10d9ebe611a445d85811894f8cf6c4
tree8d3f50f13e8f3e1bf42a7bdd3a210504fd46b67b
parent5636376c26502c39260853e529e9467f79f95931
Bluetooth: 6lowpan: always check destination address

BLE based 6LoWPAN networks are highly constrained in bandwidth.
Do not take a short-cut, always check if the destination address is
known to belong to a peer.

As a side-effect this also removes any behavioral differences between
one, and two or more connected peers.

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>
net/bluetooth/6lowpan.c