summaryrefslogtreecommitdiff
path: root/include/linux/patchkey.h
diff options
context:
space:
mode:
authorTu Dinh <ngoc-tu.dinh@vates.tech>2026-11-07 12:35:51 +0100
committerJuergen Gross <jgross@suse.com>2026-11-10 16:22:18 +0100
commitf96f16592a32430a0582309d73a873b6d3ee2bdb (patch)
tree119a9dacb26e31434db42603cf1ef202c5b08edf /include/linux/patchkey.h
parentdc6d814562b65813556933dbda1015cef61dabf8 (diff)
xen-netback: Zero out sring pointers on unmap
If xenvif_map_frontend_data_rings() fails when a ring is already mapped, it unmaps them via xenvif_unmap_frontend_data_rings() which keeps the ring pointers unchanged. xenvif_connect_data()'s cleanup path calls xenvif_disconnect_queue() which in turn calls xenvif_unmap_frontend_data_rings() again, which will attempt to unmap the pointers a second time. Zero out the ring pointers after they are unmapped to avoid this issue. This is XSA-532 Fixes: 2ac061ce97f4 ("xen/netback: cleanup init and deinit code") Signed-off-by: Tu Dinh <ngoc-tu.dinh@vates.tech> Reviewed-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'include/linux/patchkey.h')
0 files changed, 0 insertions, 0 deletions