From: Gertjan van Wingerde <gwingerde@gmail.com>
To: Chris Wright <chrisw@sous-sol.org>
Cc: Ivo van Doorn <ivdoorn@gmail.com>,
stable@kernel.org, Arnaud Patard <apatard@mandriva.com>,
linux-wireless <linux-wireless@vger.kernel.org>,
"John W. Linville" <linville@tuxdriver.com>
Subject: Re: [stable] [PATCH] rt2x00: Fix SLAB corruption during rmmod
Date: Fri, 17 Apr 2009 05:13:42 +0200 [thread overview]
Message-ID: <49E7F3E6.2010809@gmail.com> (raw)
In-Reply-To: <20090417001807.GA5020@hera.kernel.org>
Hi Chris,
On 04/17/09 02:18, Chris Wright wrote:
> * Ivo van Doorn (ivdoorn@gmail.com) wrote:
>> At rmmod stage, the code path is the following one :
>>
>> rt2x00lib_remove_dev
>> -> rt2x00lib_uninitialize()
>> -> rt2x00rfkill_unregister()
>> -> rfkill_unregister()
>> -> rt2x00rfkill_free()
>> -> rfkill_free()
>>
>> The problem is that rfkill_free should not be called after rfkill_register
>> otherwise put_device(&rfkill->dev) will be called 2 times. This patch
>> fixes this by only calling rt2x00rfkill_free() when rt2x00rfkill_register()
>> hasn't been called or has failed.
>>
>> Signed-off-by: Gertjan van Wingerde <gwingerde@gmail.com>
>> Tested-by: Arnaud Patard <apatard@mandriva.com>
>> Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
>
> Who is the Author of this patch? The Signed-off-by order suggests is
> Gertjan.
>
Indeed, I have been the author of the patch.
---
Gertjan.
next prev parent reply other threads:[~2009-04-17 3:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-01 19:18 [PATCH] rt2x00: Fix SLAB corruption during rmmod Ivo van Doorn
2009-04-17 0:18 ` [stable] " Chris Wright
2009-04-17 3:13 ` Gertjan van Wingerde [this message]
2009-04-17 6:56 ` Ivo Van Doorn
2009-04-17 20:26 ` Chris Wright
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=49E7F3E6.2010809@gmail.com \
--to=gwingerde@gmail.com \
--cc=apatard@mandriva.com \
--cc=chrisw@sous-sol.org \
--cc=ivdoorn@gmail.com \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
--cc=stable@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).