Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp758793pxy; Wed, 5 May 2021 13:11:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwlHlNsnfWMf4ZLR4AllizSVRrLVJtSRrAyURu/9JEpFFoG8TMcloCdG2BKxUwqmdWoeuw5 X-Received: by 2002:a17:907:c1c:: with SMTP id ga28mr541687ejc.122.1620245484998; Wed, 05 May 2021 13:11:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620245484; cv=none; d=google.com; s=arc-20160816; b=LswIaT1OE6T8Fi9tWPrh6MKweKsLBq64qiN9lqYu+hLxTa4aosiFUEs5SKAPbol3Qi bexq42hj0q0DghIrPIsGZ6KAI+0LiQP7FUOSjec1J1Nf32T3ce3RowSFFoAMEYKj+ydu USPwzo9PB2BB9XJgIo0M7hGiWeWpTsSnM+vZx3UyApZuGK7Ccvs/4I3Ci1uJcLJUySLT ChscnMFeY0OMxEU1sXAQlCtPrZFs4XEi5bPQuUlXPWB8dx65CRmxS1sa1Wa8KPA+yaDz g7booOHRW3GSbQ3ixGauG9chUpwfNReufkR4shS1ay5MrRsrZSQ/T+3euwF7X/BcOUdH 257Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:organization :message-id:user-agent:references:in-reply-to:subject:cc:to:from :date:mime-version; bh=fK9GT/iVJ5sSGTLAyDxnq8YqrGkzhJ0LaMF5VZvLVUQ=; b=LM9xtRq6GoEzu+pj4ctoW9GY6c2sCVIgrPfhgxyjDi/hfOc+TsQMdgyF62XuL9TQlG 1ygkw5sxIoiidUO+ml481L6drXbblrbBpXSC2gPpkMiXzmt7WEPqj4vZc/yck2CExaGF rzLRlLi0YiMDi8EOlFD0BbpY2f8hCU1yMZ3i/u7pe8sbHW1jk8runCf3svUijqiw7kFn WvrcyA3NYIpLqI1vp9StIIwEe3XCv+fR1CkCt8EbJmOd4WOpkSptfQPT6dEDnjdQpPXQ z7/pCKfvNpzkUKDPkcNefCKB/oaCCDSSn3ZiiQug4AP6fNeWIm8EE3n6xJGriTzKuHB8 04og== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x9si315725ejv.362.2021.05.05.13.11.00; Wed, 05 May 2021 13:11:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234018AbhEEQ0D (ORCPT + 99 others); Wed, 5 May 2021 12:26:03 -0400 Received: from mx2.suse.de ([195.135.220.15]:52042 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234014AbhEEQZ5 (ORCPT ); Wed, 5 May 2021 12:25:57 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 8B4CFAF0E; Wed, 5 May 2021 16:24:59 +0000 (UTC) MIME-Version: 1.0 Date: Wed, 05 May 2021 09:24:58 -0700 From: Davidlohr Bueso To: Varad Gautam Cc: linux-kernel@vger.kernel.org, Matthias von Faber , Christian Brauner , Oleg Nesterov , "Eric W. Biederman" , Manfred Spraul , Andrew Morton Subject: Re: [PATCH] ipc/mqueue: Avoid relying on a stack reference past its expiry In-Reply-To: <5abf8348-b1fc-fecb-d130-6d45b84ee081@suse.com> References: <20210504155534.17270-1-varad.gautam@suse.com> <4959eb8d8c14b00113370ae86dc7c9f5@suse.de> <6fbcb0fa502e7574f87213fc29877ed8@suse.de> <5abf8348-b1fc-fecb-d130-6d45b84ee081@suse.com> User-Agent: Roundcube Webmail Message-ID: X-Sender: dbueso@suse.de Organization: SUSE Labs Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021-05-05 08:36, Varad Gautam wrote: > If you're still unconvinced, I'll send out a v2 w/ wake_q_add called > before > smp_store_release. Yeah, please send a v2, I believe this is the right way to fix the issue. Thanks, Davidlohr