From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751661AbdJXG6P (ORCPT ); Tue, 24 Oct 2017 02:58:15 -0400 Received: from mga06.intel.com ([134.134.136.31]:44205 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750886AbdJXG6M (ORCPT ); Tue, 24 Oct 2017 02:58:12 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.43,426,1503385200"; d="scan'208";a="913056342" From: "Reshetova, Elena" To: Julian Wiedmann , "linux-s390@vger.kernel.org" CC: "linux-kernel@vger.kernel.org" , "schwidefsky@de.ibm.com" , "heiko.carstens@de.ibm.com" , "ubraun@linux.vnet.ibm.com" , "peterz@infradead.org" , "keescook@chromium.org" Subject: RE: [PATCH 0/3] s390 refcount conversions Thread-Topic: [PATCH 0/3] s390 refcount conversions Thread-Index: AQHTSXffaYuF+1FvDEO1o57YWAh6QKLxTFaAgAFLEDA= Date: Tue, 24 Oct 2017 06:58:09 +0000 Message-ID: <2236FBA76BA1254E88B949DDB74E612B802B4A7E@IRSMSX102.ger.corp.intel.com> References: <1508485670-24070-1-git-send-email-elena.reshetova@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-ctpclassification: CTP_IC x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiY2MxNjdhMTItNjZhYi00YWUyLWI1NjAtMzIyODkyYWY3YWQ2IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjIuNS4xOCIsIlRydXN0ZWRMYWJlbEhhc2giOiJDcFB6TVRPM240dlwvMFpPbzdseWFQaXZkdkpMSHFFNzMzSVZIYWdpS25PODlEMWcwSDBZQ0U2V3BmbTNnVHJQOSJ9 x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by nfs id v9O6wJNw004603 > On 10/20/2017 09:47 AM, Elena Reshetova wrote: > > This series, for S390, replaces atomic_t reference > > counters with the new refcount_t type and API (see include/linux/refcount.h). > > By doing this we prevent intentional or accidental > > underflows or overflows that can led to use-after-free vulnerabilities. > > > > The patches are fully independent and can be cherry-picked separately. > > Patches are based on top of linux-next as of yesterday. > > If there are no objections to the patches, please merge them via respective trees > > > > Elena Reshetova (3): > > [S390] vmur: convert urdev.ref_count from atomic_t to refcount_t > > [S390] net: convert lcs_reply.refcnt from atomic_t to refcount_t > > [S390] qeth: convert qeth_reply.refcnt from atomic_t to refcount_t > > > > drivers/s390/char/vmur.c | 8 ++++---- > > drivers/s390/char/vmur.h | 4 +++- > > drivers/s390/net/lcs.c | 10 +++++----- > > drivers/s390/net/lcs.h | 3 ++- > > drivers/s390/net/qeth_core.h | 3 ++- > > drivers/s390/net/qeth_core_main.c | 10 +++++----- > > 6 files changed, 21 insertions(+), 17 deletions(-) > > > Thanks Elena, I picked up the two network patches. Also removed the WARN_ONs > while applying, > those who care may use CONFIG_REFCOUNT_FULL. Thank you Julian! I had them first removed also, but since we got x86 that doesn't WARN in these cases, I put them back just to make sure I don't make any unexpected changes. Do you know who would be the correct person to take the last patch? Best Regards, Elena