This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-changelog] [xen-unstable] [IA64] Fix PCI front with CONFIG_NUMA

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [IA64] Fix PCI front with CONFIG_NUMA
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 04 Jun 2007 03:14:46 -0700
Delivery-date: Mon, 04 Jun 2007 03:14:54 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Alex Williamson <alex.williamson@xxxxxx>
# Date 1178548346 21600
# Node ID d4f59e6520781a3f1d025e754d11992be68c309c
# Parent  642a9bcaf19c63f12722a30d94de2ad2607d9d47
[IA64] Fix PCI front with CONFIG_NUMA

We get a bad pointer dereference if we don't fill something in
here.  -1 will give us a global allocation, which is good enough
until we have better NUMA support.

Signed-off-by: Alex Williamson <alex.williamson@xxxxxx>
 linux-2.6-xen-sparse/include/xen/pcifront.h |    1 +
 1 files changed, 1 insertion(+)

diff -r 642a9bcaf19c -r d4f59e652078 linux-2.6-xen-sparse/include/xen/pcifront.h
--- a/linux-2.6-xen-sparse/include/xen/pcifront.h       Sun May 06 20:34:15 
2007 -0600
+++ b/linux-2.6-xen-sparse/include/xen/pcifront.h       Mon May 07 08:32:26 
2007 -0600
@@ -62,6 +62,7 @@ static inline void pcifront_init_sd(stru
        sd->segment = domain;
        sd->acpi_handle = NULL;
        sd->iommu = NULL;
+       sd->node = -1;
        sd->windows = 0;
        sd->window = NULL;
        sd->platform_data = pdev;

Xen-changelog mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [IA64] Fix PCI front with CONFIG_NUMA, Xen patchbot-unstable <=