]> xenbits.xensource.com Git - xen.git/commit
gnttab: don't silently truncate frame numbers in gnttab_set_version()
authorJan Beulich <jbeulich@suse.com>
Tue, 7 Jul 2015 08:29:35 +0000 (10:29 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 7 Jul 2015 08:29:35 +0000 (10:29 +0200)
commit3459050e0443fa1179b39a1d85668e8c8933f27e
treefa54b5461e75ea9f9813bb0fd6a06b6f184a57fa
parent6d6e2997fbed4e148a716e68856eb1e3ffd1887f
gnttab: don't silently truncate frame numbers in gnttab_set_version()

On a v2 -> v1 transition frame numbers previously stored in a 64-bit
field have to fit into a 32-bit one.

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