projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24c47cc
)
grant_table: Remove compat-shim BUG_ON() which can fail if
author
Keir Fraser
<keir.fraser@citrix.com>
Wed, 30 Jul 2008 14:25:09 +0000
(15:25 +0100)
committer
Keir Fraser
<keir.fraser@citrix.com>
Wed, 30 Jul 2008 14:25:09 +0000
(15:25 +0100)
GMFN==INVALID (~0UL).
Found by Diego Ongaro <diego.ongaro@citrix.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen/common/compat/grant_table.c
patch
|
blob
|
history
diff --git
a/xen/common/compat/grant_table.c
b/xen/common/compat/grant_table.c
index fa4322e77d89e850e9dde5ff6c48a8869ee0350c..f3a6d937763a1cb121e2826f4b5e4f621131a021 100644
(file)
--- a/
xen/common/compat/grant_table.c
+++ b/
xen/common/compat/grant_table.c
@@
-138,7
+138,6
@@
int compat_grant_table_op(unsigned int cmd,
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); \
} \
} \