Stefan Hajnoczi a31ca6801c qemu/queue.h: clear linked list pointers on remove
Do not leave stale linked list pointers around after removal.  It's
safer to set them to NULL so that use-after-removal results in an
immediate segfault.

The RCU queue removal macros are unchanged since nodes may still be
traversed after removal.

Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Link: https://lore.kernel.org/r/20200224103406.1894923-2-stefanha@redhat.com
Message-Id: <20200224103406.1894923-2-stefanha@redhat.com>
2020-03-09 16:39:20 +00:00
..
2019-08-16 13:31:51 +02:00
2020-01-24 20:59:13 +01:00
2020-03-06 17:21:27 +01:00
2020-02-26 18:57:07 +01:00
2020-03-06 17:15:38 +01:00
2020-02-12 14:58:36 -08:00
2020-01-14 07:26:36 +01:00
2020-01-23 15:34:04 +00:00