- Mark queue entry as deleted before destroying
authorBart Polot <bart@net.in.tum.de>
Wed, 10 Oct 2012 18:54:34 +0000 (18:54 +0000)
committerBart Polot <bart@net.in.tum.de>
Wed, 10 Oct 2012 18:54:34 +0000 (18:54 +0000)
commit2370b7bcd4649de55e06d86f16c35c360c93212b
tree0e1df50a614c72bdeb95a9b47a2f50557193a800
parent60574dc31dbb9419a29c9f1b1a7fca14c2bf712c
- Mark queue entry as deleted before destroying
This is to avoid queue_destroy accessing that data structure and moving the entries around, which causes later entries to be avoided (jumped over) and causes crashes on core disconnect as queue_destroy accesses the then-invalid tunnel structure
src/mesh/gnunet-service-mesh.c