]> git.ipfire.org Git - thirdparty/libvirt.git/commit
security_stack: Turn list of nested drivers into a doubly linked list
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 11 Sep 2019 08:33:19 +0000 (10:33 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 14 Oct 2019 15:21:59 +0000 (17:21 +0200)
commitcd355a526ff239eed24b50959ffb21e390724b74
treed1b6b1ccb33086a68911d1b0c0ed38883cd2ab1c
parent3f968a8706d783cbe20f1ad9dacde94659c81a68
security_stack: Turn list of nested drivers into a doubly linked list

In near future we will need to walk through the list of internal
drivers in reversed order. The simplest solution is to turn
singly linked list into a doubly linked list.
We will not need to start from the end really, so there's no tail
pointer kept.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Cole Robinson <crobinso@redhat.com>
src/security/security_stack.c