login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
27
Re: [PATCH] DMAENGINE: too many kref_put calls
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Al Viro <viro@...>
To: Shannon Nelson <shannon.nelson@...>
Cc: <linux-kernel@...>, <akpm@...>, <greg@...>, <hskinnemoen@...>, <dan.j.williams@...>
Subject:
Re: [PATCH] DMAENGINE: too many kref_put calls
Date: Saturday, October 27, 2007 - 2:40 am
On Fri, Oct 26, 2007 at 04:56:48PM -0700, Shannon Nelson wrote:
quoted text
> static void dma_dev_release(struct device *dev) > { > - struct dma_chan *chan = to_dma_chan(dev); > - kref_put(&chan->device->refcount, dma_async_device_cleanup); > + return; > }
Practically guaranteed to be broken. Empty ->release() is almost certain to mean that you can get operations on already freed object. -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[PATCH] DMAENGINE: too many kref_put calls
, Shannon Nelson
, (Fri Oct 26, 7:56 pm)
Re: [PATCH] DMAENGINE: too many kref_put calls
, Haavard Skinnemoen
, (Sat Oct 27, 9:28 am)
Re: [PATCH] DMAENGINE: too many kref_put calls
, Al Viro
, (Sat Oct 27, 2:40 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg Kroah-Hartman
[PATCH 002/196] Chinese: rephrase English introduction in HOWTO
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Roland Dreier
Re: Integration of SCST in the mainstream Linux kernel
git
:
linux-netdev
:
Radu Rendec
htb parallelism on multi-core platforms
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
David Miller
[GIT]: Networking
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
5 users
and
917 guests
online.
Online users
strcmp
plussizelingeri
zeekec
prakarp
moscicluna
Syndicate