Re: [PATCH] CONNECTOR: don't touch queue dev after decrement of ref count
From: Evgeniy Polyakov
Date: Wed Jan 09 2008 - 04:13:25 EST
On Wed, Jan 09, 2008 at 01:44:07PM +0800, Li Zefan (lizf@xxxxxxxxxxxxxx) 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@xxxxxxxxxxxxxx>
Thanks a lot!
--
Evgeniy Polyakov
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/