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(-) -- 2.21.1