Skip to content

Fix AppKey deletion

Inga Stotland linux-bluetooth 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2mesh: Fix logic in AppKey deletionmesh/appkey.c mesh/node.c mesh/node.h+7 -320 replies
2/2mesh: Fix wholesale deletion of appkeys bound to a netkeymesh/appkey.c+21 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH BlueZ 0/2] Fix AppKey deletion

This patch set contains fixes for:
- deleting individual app key deletion as a result receiving Config AppKey Delete message. The fix removes a dulpicate attempt to write to config storage and some function call simplifications

- deleting a number of appkeys as a result of receiving Config NetKey Delete message. When deleting multiple entries from a queue, do not use queue iteration mechanism as the deletion of multiple entries may result in seg fault. Instead, find and delete bound keys one by one until none are found.

Inga Stotland (2):
mesh: Fix logic in AppKey deletion
mesh: Fix wholesale deletion of appkeys bound to a netkey

 mesh/appkey.c | 32 ++++++++++++++++++++++++--------
 mesh/node.c   | 29 ++---------------------------
 mesh/node.h   |  4 ++--
 3 files changed, 28 insertions(+), 37 deletions(-)
Signature · 1 line
2.21.1