All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bastian Blank <waldi@debian.org>
To: James Harper <james.harper@bendigoit.com.au>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>, xen-devel@lists.xensource.com
Subject: Re: Null-pointer access in netback_uevent
Date: Fri, 28 May 2010 11:03:25 +0200	[thread overview]
Message-ID: <20100528090325.GA13575@wavehammer.waldi.eu.org> (raw)
In-Reply-To: <AEC6C66638C05B468B556EA548C1A77D01996BE0@trantor>

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
> > > + 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.

There are two problems there. And yes, the uevent routine can be called
at any time.

Bastian

-- 
You!  What PLANET is this!
		-- McCoy, "The City on the Edge of Forever", stardate 3134.0

  reply	other threads:[~2010-05-28  9:03 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-27 16:55 Null-pointer access in netback_uevent Bastian Blank
2010-05-27 21:03 ` Jeremy Fitzhardinge
2010-05-27 22:27   ` Bastian Blank
2010-05-27 22:39     ` Jeremy Fitzhardinge
2010-05-27 23:02       ` Bastian Blank
2010-05-28  0:04 ` James Harper
2010-05-28  0:33   ` James Harper
2010-05-28  0:47     ` James Harper
2010-05-28  9:03       ` Bastian Blank [this message]
2010-05-28 17:28         ` Jeremy Fitzhardinge
2010-05-28 22:42           ` James Harper
2010-05-28 23:30             ` Jeremy Fitzhardinge
2010-05-28 23:59               ` James Harper
2010-05-29  6:44                 ` Bastian Blank
2010-05-29 18:44                   ` [PATCH] xen/netback: Fix null-pointer " Bastian Blank
2010-05-31  7:37                     ` Jan Beulich
2010-05-31  8:07                       ` Jan Beulich
2010-07-28 16:20                         ` Bastian Blank
2010-07-29 11:47                           ` Ian Campbell
2010-07-29 12:42                             ` Bastian Blank
2010-07-29 13:44                               ` Ian Campbell
2010-07-29 13:48                                 ` Ian Campbell
2010-07-29 15:30                                 ` Bastian Blank
2010-07-29 15:40                                   ` Jeremy Fitzhardinge
2010-07-29 17:08                                     ` Bastian Blank

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100528090325.GA13575@wavehammer.waldi.eu.org \
    --to=waldi@debian.org \
    --cc=james.harper@bendigoit.com.au \
    --cc=jeremy@goop.org \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.