From: Martin Pitt <martin.pitt@ubuntu.com>
To: Junjie Mao <eternal.n08@gmail.com>
Cc: Fengguang Wu <fengguang.wu@intel.com>,
linux-wireless@vger.kernel.org, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] mac80211_hwsim: release driver when ieee80211_register_hw fails
Date: Wed, 29 Oct 2014 07:45:01 +0100 [thread overview]
Message-ID: <20141029064501.GB2985@piware.de> (raw)
In-Reply-To: <1414459907-7509-1-git-send-email-eternal.n08@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 540 bytes --]
Acked-By: Martin Pitt <martin.pitt@ubuntu.com>
Hello Junjie,
Junjie Mao [2014-10-28 9:31 +0800]:
> The driver is not released when ieee80211_register_hw fails in
> mac80211_hwsim_create_radio, leading to the access to the unregistered (and
> possibly freed) device in platform_driver_unregister:
Many thanks for fixing this! Sorry about that, I don't know these bits
very well.
Martin
--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
next prev parent reply other threads:[~2014-10-29 6:53 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-28 1:31 [PATCH] mac80211_hwsim: release driver when ieee80211_register_hw fails Junjie Mao
2014-10-29 6:45 ` Martin Pitt [this message]
2014-10-29 10:23 ` Junjie Mao
2014-10-29 14:14 ` Fengguang Wu
2014-10-29 15:31 ` Johannes Berg
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=20141029064501.GB2985@piware.de \
--to=martin.pitt@ubuntu.com \
--cc=eternal.n08@gmail.com \
--cc=fengguang.wu@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=netdev@vger.kernel.org \
/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.