[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] [IA64] bug fix in ioports_deny_access
# HG changeset patch # User awilliam@xxxxxxxxxxx # Node ID 555eb7402bd8f6aed5e3f06811f8ebb1ab688c7b # Parent 2aaad9cbc926f9049fdc9aa3016576d4b8d69884 [IA64] bug fix in ioports_deny_access Signed-off-by: Tristan Gingold <tristan.gingold@xxxxxxxx> --- xen/arch/ia64/xen/mm.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff -r 2aaad9cbc926 -r 555eb7402bd8 xen/arch/ia64/xen/mm.c --- a/xen/arch/ia64/xen/mm.c Tue Aug 08 14:36:21 2006 -0600 +++ b/xen/arch/ia64/xen/mm.c Tue Aug 08 14:38:10 2006 -0600 @@ -881,10 +881,10 @@ ioports_deny_access(struct domain *d, un pte_t old_pte; port = IO_SPACE_SPARSE_DECODING (off); - if (port < fp || port + IO_SPACE_SPARSE_PORTS_PER_PAGE > lp) { + if (port < fp || port + IO_SPACE_SPARSE_PORTS_PER_PAGE - 1 > lp) { /* Maybe this covers an allowed port. */ if (ioports_has_allowed(d, port, - port + IO_SPACE_SPARSE_PORTS_PER_PAGE)) + port + IO_SPACE_SPARSE_PORTS_PER_PAGE - 1)) continue; } _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |