[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-3.2-testing] grant_table: Remove compat-shim BUG_ON() which can fail if



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1217427959 -3600
# Node ID 7651b1d93492647dad389cbbd448b17c7c4d13ca
# Parent  f830b47149a4ccd7c0b0be0eaa41add653c90c36
grant_table: Remove compat-shim BUG_ON() which can fail if
GMFN==INVALID (~0UL).

Found by Diego Ongaro <diego.ongaro@xxxxxxxxxx>

Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
xen-unstable changeset:   18177:9ee2e41a68a1fc05d7fd15f00d87ebd0e1818b93
xen-unstable date:        Wed Jul 30 15:25:09 2008 +0100
---
 xen/common/compat/grant_table.c |    1 -
 1 files changed, 1 deletion(-)

diff -r f830b47149a4 -r 7651b1d93492 xen/common/compat/grant_table.c
--- a/xen/common/compat/grant_table.c   Tue Jul 29 16:13:15 2008 +0100
+++ b/xen/common/compat/grant_table.c   Wed Jul 30 15:25:59 2008 +0100
@@ -138,7 +138,6 @@ int compat_grant_table_op(unsigned int c
                         for ( i = 0; i < (_s_)->nr_frames; ++i ) \
                         { \
                             unsigned int frame = (_s_)->frame_list.p[i]; \
-                            BUG_ON(frame != (_s_)->frame_list.p[i]); \
                             (void)__copy_to_compat_offset((_d_)->frame_list, 
i, &frame, 1); \
                         } \
                     } \

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.