From: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
To: Li Zefan <lizf@cn.fujitsu.com>
Cc: David Miller <davem@davemloft.net>, LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] CONNECTOR: don't touch queue dev after decrement of ref count
Date: Wed, 9 Jan 2008 12:12:38 +0300 [thread overview]
Message-ID: <20080109091238.GA6250@2ka.mipt.ru> (raw)
In-Reply-To: <47845F27.6020305@cn.fujitsu.com>
On Wed, Jan 09, 2008 at 01:44:07PM +0800, Li Zefan (lizf@cn.fujitsu.com) wrote:
>
> cn_queue_free_callback() will touch 'dev'(i.e. cbq->pdev),
> so it should be called before atomic_dec(&dev->refcnt).
>
> Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Thanks a lot!
--
Evgeniy Polyakov
prev parent reply other threads:[~2008-01-09 9:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-09 5:44 [PATCH] CONNECTOR: don't touch queue dev after decrement of ref count Li Zefan
2008-01-09 7:44 ` David Miller
2008-01-09 9:12 ` Evgeniy Polyakov [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=20080109091238.GA6250@2ka.mipt.ru \
--to=johnpol@2ka.mipt.ru \
--cc=davem@davemloft.net \
--cc=linux-kernel@vger.kernel.org \
--cc=lizf@cn.fujitsu.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox