[PATCH BlueZ] mesh: Fix Replay Protection Cache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux