]> git.ipfire.org Git - thirdparty/qemu.git/commit
xen: mapcache: Fix unmapping of first entries in buckets
authorEdgar E. Iglesias <edgar.iglesias@amd.com>
Mon, 1 Jul 2024 22:44:21 +0000 (00:44 +0200)
committerEdgar E. Iglesias <edgar.iglesias@amd.com>
Thu, 11 Jul 2024 22:17:36 +0000 (00:17 +0200)
commit872cb9cced796e75d4f719c31d70ed5fd629efca
treedc16cbbedeba1ace4fe79ce7ab4e24a0aecef455
parent596ccccdbfa124adb42be8c2faf0c74f4849c7a6
xen: mapcache: Fix unmapping of first entries in buckets

This fixes the clobbering of the entry->next pointer when
unmapping the first entry in a bucket of a mapcache.

Fixes: 123acd816d ("xen: mapcache: Unmap first entries in buckets")
Reported-by: Anthony PERARD <anthony.perard@vates.tech>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@amd.com>
Reviewed-by: Anthony PERARD <anthony.perard@vates.tech>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
hw/xen/xen-mapcache.c