]> xenbits.xensource.com Git - xen.git/commit
gnttab: correct pin status fixup for copy
authorJan Beulich <jbeulich@suse.com>
Tue, 15 Aug 2017 13:08:03 +0000 (15:08 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 15 Aug 2017 13:08:03 +0000 (15:08 +0200)
commit6e2a4c73564ab907b732059adb317d6ca2d138a2
treebd5c67a3fe8359fc35dcd33b41701428eb9fa2ad
parent02cbeeb6207508b0f04a2c6181445c8eb3f1e117
gnttab: correct pin status fixup for copy

Regardless of copy operations only setting GNTPIN_hst*, GNTPIN_dev*
also need to be taken into account when deciding whether to clear
_GTF_{read,writ}ing. At least for consistency with code elsewhere the
read part better doesn't use any mask at all.

This is XSA-230.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/common/grant_table.c