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

[Xen-changelog] [xen-unstable] pci back: Fix registration of of filters on subsections of config space.



# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1173432091 0
# Node ID a67d3fbd4577ae1c0294ae782c43b519fad4c6ae
# Parent  5dd14bfbe956b107c8ca11fb475baca161ce4d16
pci back: Fix registration of of filters on subsections of config space.
Found by Jambanuthan K.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 linux-2.6-xen-sparse/drivers/xen/pciback/conf_space.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 5dd14bfbe956 -r a67d3fbd4577 
linux-2.6-xen-sparse/drivers/xen/pciback/conf_space.c
--- a/linux-2.6-xen-sparse/drivers/xen/pciback/conf_space.c     Fri Mar 09 
02:32:52 2007 +0000
+++ b/linux-2.6-xen-sparse/drivers/xen/pciback/conf_space.c     Fri Mar 09 
09:21:31 2007 +0000
@@ -357,7 +357,7 @@ int pciback_config_add_field_offset(stru
        void *tmp;
 
        /* silently ignore duplicate fields */
-       if (pciback_field_is_dup(dev, field->offset))
+       if (pciback_field_is_dup(dev, field->offset + offset))
                goto out;
 
        cfg_entry = kmalloc(sizeof(*cfg_entry), GFP_KERNEL);

_______________________________________________
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®.