public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: lizf@cn.fujitsu.com
Cc: johnpol@2ka.mipt.ru, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] CONNECTOR: don't touch queue dev after decrement of ref count
Date: Tue, 08 Jan 2008 23:44:58 -0800 (PST)	[thread overview]
Message-ID: <20080108.234458.94292389.davem@davemloft.net> (raw)
In-Reply-To: <47845F27.6020305@cn.fujitsu.com>

From: Li Zefan <lizf@cn.fujitsu.com>
Date: Wed, 09 Jan 2008 13:44:07 +0800

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

Excellent catch, patch applied.

Thanks.

  reply	other threads:[~2008-01-09  7:45 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 [this message]
2008-01-09  9:12 ` Evgeniy Polyakov

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=20080108.234458.94292389.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=johnpol@2ka.mipt.ru \
    --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