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] Re: Null-pointer access in netback_uevent

To: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Subject: Re: [Xen-devel] Re: Null-pointer access in netback_uevent
From: Bastian Blank <waldi@xxxxxxxxxx>
Date: Fri, 28 May 2010 01:02:20 +0200
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 27 May 2010 16:03:17 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4BFEF494.6090508@xxxxxxxx>
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>
Mail-followup-to: Bastian Blank <waldi@xxxxxxxxxx>, Jeremy Fitzhardinge <jeremy@xxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
References: <20100527165558.GA11358@xxxxxxxxxxxxxxxxxxxxxxx> <4BFEDE13.5020507@xxxxxxxx> <20100527222708.GB25018@xxxxxxxxxxxxxxxxxxxxxxx> <4BFEF494.6090508@xxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.18 (2008-05-17)
On Thu, May 27, 2010 at 03:39:16PM -0700, Jeremy Fitzhardinge wrote:
> On 05/27/2010 03:27 PM, Bastian Blank wrote:
> > Domain creation.
> Using the xm toolset?  Has it always crashed, or was there some change
> which made it start happening?  Or is it an erratic failure?

xm create.

However looking at the code shows it as obvious. backend_info->netif is
only filled while in state connected. netback_uevent does not check if
it is setup but can be called at all times.

Bastian

-- 
Earth -- mother of the most beautiful women in the universe.
                -- Apollo, "Who Mourns for Adonais?" stardate 3468.1

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