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

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

On 05/28/2010 02:03 AM, Bastian Blank wrote:
> On Fri, May 28, 2010 at 10:47:48AM +1000, James Harper wrote:
>>>> I noticed this just after I posted (subject "oops starting domain on 4.0.0
>>>> +"). 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.
> There are two problems there. And yes, the uevent routine can be called
> at any time.

So would it be correct for it to just return if either of those are
NULL?  Will it get called again later once the device info is available?


Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.