WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [Xen-devel] Null-pointer access in netback_uevent

To: "Bastian Blank" <waldi@xxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] Null-pointer access in netback_uevent
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Fri, 28 May 2010 10:47:48 +1000
Cc: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Delivery-date: Thu, 27 May 2010 17:48:56 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AEC6C66638C05B468B556EA548C1A77D01996BDB@trantor>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20100527165558.GA11358@xxxxxxxxxxxxxxxxxxxxxxx> <AEC6C66638C05B468B556EA548C1A77D01996BD8@trantor> <AEC6C66638C05B468B556EA548C1A77D01996BDB@trantor>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acr9vbCDfCaKj7vXSRq8OQIna28+yQAO6ScwAADslYAAAIkvcA==
Thread-topic: [Xen-devel] Null-pointer access in netback_uevent
> 
> >
> > I noticed this just after I posted (subject "oops starting domain on 4.0.0
> > + 2.6.32.13-gf6fe658"). I'm getting the same error.
> >
> 
> Actually my error is occurring because 'be' is NULL in netback_uevent (eg
> dev_get_drvdata returns NULL)
> 

Looking into this further, I suspect that the trigger here is a newer version 
of udev or something in that area. netback_uevent is getting called before the 
call to netback_probe containing the call to dev_set_drvdata.

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