]> git.baikalelectronics.ru Git - kernel.git/commit
Xen/gntdev: don't ignore kernel unmapping error
authorJan Beulich <jbeulich@suse.com>
Fri, 17 Sep 2021 06:13:08 +0000 (08:13 +0200)
committerJuergen Gross <jgross@suse.com>
Mon, 20 Sep 2021 14:57:08 +0000 (16:57 +0200)
commit5c33de09baf9737fde1e9055efd99034995a2b24
tree4f5e9201e40ca5872e60d0bcfd92c5e6b3e74182
parentcf3e3f679e64d643b3a84c93ef5f1782a6fd07ef
Xen/gntdev: don't ignore kernel unmapping error

While working on XSA-361 and its follow-ups, I failed to spot another
place where the kernel mapping part of an operation was not treated the
same as the user space part. Detect and propagate errors and add a 2nd
pr_debug().

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Link: https://lore.kernel.org/r/c2513395-74dc-aea3-9192-fd265aa44e35@suse.com
Signed-off-by: Juergen Gross <jgross@suse.com>
drivers/xen/gntdev.c