Thread (63 messages) 63 messages, 12 authors, 2017-03-21

Re: [PATCH 08/29] drivers, md: convert mddev.active from atomic_t to refcount_t

From: "gregkh@linuxfoundation.org" <gregkh@linuxfoundation.org>
Date: 2017-03-08 10:22:16
Also in: linux-bcache, linux-media, linux-pci, linux-raid, linux-s390, linux-scsi, linux-serial, lkml

On Wed, Mar 08, 2017 at 09:42:09AM +0000, Reshetova, Elena wrote:
quoted
On Mon, Mar 06, 2017 at 04:20:55PM +0200, Elena Reshetova wrote:
quoted
refcount_t type and corresponding API should be
used instead of atomic_t when the variable is used as
a reference counter. This allows to avoid accidental
refcounter overflows that might lead to use-after-free
situations.
Looks good. Let me know how do you want to route the patch to upstream.
Greg, you previously mentioned that driver's conversions can go via your tree. Does this still apply?
Or should I be asking maintainers to merge these patches via their trees? 
You should ask them to take them through their trees, if they have them.
I'll be glad to scoop up all of the remaining ones that get missed, or
for subsystems that do not have trees.

thanks,

greg k-h
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help