All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: p.fedin@samsung.com
Cc: netdev@vger.kernel.org, sgoutham@cavium.com, rric@kernel.org,
	youngmin.lee@cavium.com, kin-yip.liu@cavium.com
Subject: Re: [PATCH v2] net: thunder: Fix crash upon shutdown after failed probe
Date: Mon, 16 Nov 2015 09:27:00 -0500 (EST)	[thread overview]
Message-ID: <20151116.092700.699331527594997509.davem@davemloft.net> (raw)
In-Reply-To: <1447680146-8680-1-git-send-email-p.fedin@samsung.com>

From: Pavel Fedin <p.fedin@samsung.com>
Date: Mon, 16 Nov 2015 16:22:26 +0300

> If device probe fails, driver remains bound to the PCI device. However,
> driver data has been reset to NULL. This causes crash upon dereferencing
> it in nicvf_remove()
> 
> Signed-off-by: Pavel Fedin <p.fedin@samsung.com>
> ---
> v1 => v2:
> - Do the test in nicvf_remove(), this allows to cover more situations

Please send me a relative fix on top of the other change, rather
than a complete replacement patch.

      reply	other threads:[~2015-11-16 14:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-16 13:22 [PATCH v2] net: thunder: Fix crash upon shutdown after failed probe Pavel Fedin
2015-11-16 14:27 ` David Miller [this message]

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=20151116.092700.699331527594997509.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=kin-yip.liu@cavium.com \
    --cc=netdev@vger.kernel.org \
    --cc=p.fedin@samsung.com \
    --cc=rric@kernel.org \
    --cc=sgoutham@cavium.com \
    --cc=youngmin.lee@cavium.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.