$NetBSD: patch-CVE-2013-1964-2,v 1.1.2.2 2013/04/24 22:25:48 tron Exp $

http://lists.xen.org/archives/html/xen-announce/2013-04/msg00006.html

--- xen/include/xen/grant_table.h.orig
+++ xen/include/xen/grant_table.h
@@ -32,7 +32,7 @@
 struct active_grant_entry {
     u32           pin;    /* Reference count information.             */
     domid_t       domid;  /* Domain being granted access.             */
-    domid_t       trans_dom;
+    struct domain *trans_domain;
     uint32_t      trans_gref;
     unsigned long frame;  /* Frame being granted.                     */
     unsigned long gfn;    /* Guest's idea of the frame being granted. */
