diff options
author | Jan Beulich <jbeulich@suse.com> | 2021-03-26 16:33:53 +0100 |
---|---|---|
committer | Juergen Gross <jgross@suse.com> | 2021-03-26 16:33:53 +0100 |
commit | a846738f8c3788d846ed1f587270d2f2e3d32432 (patch) | |
tree | d3804e301582c22883cab22c25164ccbd00ffc9a /drivers/pci/endpoint/pci-ep-cfs.c | |
parent | Revert "xen: fix p2m size in dom0 for disabled memory hotplug case" (diff) | |
download | linux-a846738f8c3788d846ed1f587270d2f2e3d32432.tar.xz linux-a846738f8c3788d846ed1f587270d2f2e3d32432.zip |
xen-blkback: don't leak persistent grants from xen_blkbk_map()
The fix for XSA-365 zapped too many of the ->persistent_gnt[] entries.
Ones successfully obtained should not be overwritten, but instead left
for xen_blkbk_unmap_prepare() to pick up and put.
This is XSA-371.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Cc: stable@vger.kernel.org
Reviewed-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Wei Liu <wl@xen.org>
Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'drivers/pci/endpoint/pci-ep-cfs.c')
0 files changed, 0 insertions, 0 deletions