[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2236FBA76BA1254E88B949DDB74E612B41C569F1@IRSMSX102.ger.corp.intel.com>
Date: Thu, 9 Mar 2017 07:19:12 +0000
From: "Reshetova, Elena" <elena.reshetova@...el.com>
To: Boris Ostrovsky <boris.ostrovsky@...cle.com>,
"gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>
CC: "peterz@...radead.org" <peterz@...radead.org>,
"linux-pci@...r.kernel.org" <linux-pci@...r.kernel.org>,
"target-devel@...r.kernel.org" <target-devel@...r.kernel.org>,
"linux1394-devel@...ts.sourceforge.net"
<linux1394-devel@...ts.sourceforge.net>,
"devel@...verdev.osuosl.org" <devel@...verdev.osuosl.org>,
"linux-s390@...r.kernel.org" <linux-s390@...r.kernel.org>,
"linux-scsi@...r.kernel.org" <linux-scsi@...r.kernel.org>,
"linux-serial@...r.kernel.org" <linux-serial@...r.kernel.org>,
"fcoe-devel@...n-fcoe.org" <fcoe-devel@...n-fcoe.org>,
"xen-devel@...ts.xenproject.org" <xen-devel@...ts.xenproject.org>,
"open-iscsi@...glegroups.com" <open-iscsi@...glegroups.com>,
"linux-media@...r.kernel.org" <linux-media@...r.kernel.org>,
Kees Cook <keescook@...omium.org>,
"linux-raid@...r.kernel.org" <linux-raid@...r.kernel.org>,
"linux-bcache@...r.kernel.org" <linux-bcache@...r.kernel.org>,
"Hans Liljestrand" <ishkamiel@...il.com>,
David Windsor <dwindsor@...il.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"linux-usb@...r.kernel.org" <linux-usb@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"devel@...uxdriverproject.org" <devel@...uxdriverproject.org>,
Juergen Gross <jgross@...e.com>
Subject: RE: [Xen-devel] [PATCH 29/29] drivers, xen: convert grant_map.users
from atomic_t to refcount_t
> On 03/08/2017 08:49 AM, Reshetova, Elena wrote:
> >> On 03/06/2017 09:21 AM, Elena Reshetova wrote:
> >>> 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.
> >>>
> >>> Signed-off-by: Elena Reshetova <elena.reshetova@...el.com>
> >>> Signed-off-by: Hans Liljestrand <ishkamiel@...il.com>
> >>> Signed-off-by: Kees Cook <keescook@...omium.org>
> >>> Signed-off-by: David Windsor <dwindsor@...il.com>
> >>> ---
> >>> drivers/xen/gntdev.c | 11 ++++++-----
> >>> 1 file changed, 6 insertions(+), 5 deletions(-)
> >> Reviewed-by: Boris Ostrovsky <boris.ostrovsky@...cle.com>
> > Is there a tree that can take this change? Turns out it is better to propagate
> changes via separate trees and only leftovers can be taken via Greg's tree.
> >
>
> Sure, we can take it via Xen tree for rc3.
Thank you very much!
Best Regards,
Elena.
>
> -boris
Powered by blists - more mailing lists