From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yw1-f70.google.com (mail-yw1-f70.google.com [209.85.161.70]) by kanga.kvack.org (Postfix) with ESMTP id 807CA8E0002 for ; Mon, 14 Jan 2019 03:43:38 -0500 (EST) Received: by mail-yw1-f70.google.com with SMTP id l9so11983516ywl.11 for ; Mon, 14 Jan 2019 00:43:38 -0800 (PST) Received: from userp2130.oracle.com (userp2130.oracle.com. [156.151.31.86]) by mx.google.com with ESMTPS id z190si27230524ybf.283.2019.01.14.00.43.37 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 14 Jan 2019 00:43:37 -0800 (PST) Date: Mon, 14 Jan 2019 11:43:10 +0300 From: Dan Carpenter Subject: Re: [PATCH] mm, swap: Potential NULL dereference in get_swap_page_of_type() Message-ID: <20190114084310.GD4504@kadam> References: <20190111095919.GA1757@kadam> <20190111174128.oak64htbntvp7j6y@ca-dmjordan1.us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190111174128.oak64htbntvp7j6y@ca-dmjordan1.us.oracle.com> Sender: owner-linux-mm@kvack.org List-ID: To: Daniel Jordan Cc: Andrew Morton , Shaohua Li , Huang Ying , Dave Hansen , Stephen Rothwell , Omar Sandoval , Tejun Heo , Andi Kleen , linux-mm@kvack.org, kernel-janitors@vger.kernel.org, andrea.parri@amarulasolutions.com I'm really terribly ignorant when it comes to things like this... To me it looked like the barrier in alloc_swap_info() was enough but when so many smarter people disagree then I must be wrong. I'd like to help, but I sort of feel unqualified. Could someone else take care of it? regards, dan carpenter