* [PATCH BlueZ] mesh: Fix Replay Protection Cache
@ 2020-03-23 21:40 Brian Gix
0 siblings, 0 replies; only message in thread
From: Brian Gix @ 2020-03-23 21:40 UTC (permalink / raw)
To: linux-bluetooth; +Cc: brian.gix, inga.stotland
There was a bug identified in the RPL storage, such that the real-time
queue was being filled by incorrect unicast addresses. (Thx ccsanden).
---
mesh/net.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mesh/net.c b/mesh/net.c
index 55b1330cc..49c4ee23a 100644
--- a/mesh/net.c
+++ b/mesh/net.c
@@ -3857,7 +3857,7 @@ void net_msg_add_replay_cache(struct mesh_net *net, uint16_t src, uint32_t seq,
if (!rpe) {
l_debug("New Entry for %4.4x", src);
rpe = l_new(struct mesh_rpl, 1);
- rpe->seq = src;
+ rpe->src = src;
}
rpe->seq = seq;
--
2.21.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2020-03-23 21:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-23 21:40 [PATCH BlueZ] mesh: Fix Replay Protection Cache Brian Gix
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).