You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ry...@apache.org on 2020/09/15 06:41:45 UTC
[mynewt-nimble] 04/09: mesh/net.c: don't drop messages with RFU as
their destination Dropping such messages doesn't comply with Mesh Profile
Test Specification.
This is an automated email from the ASF dual-hosted git repository.
rymek pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git
commit b14f1637a8dfe1ea8dc212da4b2ed16ef1f7e359
Author: Krzysztof Kopyściński <kr...@codecoup.pl>
AuthorDate: Thu Sep 3 09:15:47 2020 +0200
mesh/net.c: don't drop messages with RFU as their destination
Dropping such messages doesn't comply with Mesh Profile Test Specification.
---
nimble/host/mesh/src/net.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/nimble/host/mesh/src/net.c b/nimble/host/mesh/src/net.c
index 887ceda..bde847a 100644
--- a/nimble/host/mesh/src/net.c
+++ b/nimble/host/mesh/src/net.c
@@ -1287,11 +1287,6 @@ int bt_mesh_net_decode(struct os_mbuf *data, enum bt_mesh_net_if net_if,
return -EBADMSG;
}
- if (BT_MESH_ADDR_IS_RFU(rx->ctx.recv_dst)) {
- BT_ERR("Destination address is RFU; dropping packet");
- return -EBADMSG;
- }
-
if (net_if != BT_MESH_NET_IF_LOCAL && bt_mesh_elem_find(rx->ctx.addr)) {
BT_DBG("Dropping locally originated packet");
return -EBADMSG;