From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from userp2130.oracle.com ([156.151.31.86]:35980 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750975AbeERObk (ORCPT ); Fri, 18 May 2018 10:31:40 -0400 To: Alexander Potapenko Cc: jthumshirn@suse.de, jejb@linux.vnet.ibm.com, dgilbert@interlog.com, linux-kernel@vger.kernel.org, stable@vger.kernel.org, linux-scsi@vger.kernel.org, dvyukov@google.com, hare@suse.com, torvalds@linux-foundation.org Subject: Re: [PATCH] scsi: sg: allocate with __GFP_ZERO in sg_build_indirect() From: "Martin K. Petersen" References: <20180518142318.200260-1-glider@google.com> Date: Fri, 18 May 2018 10:31:26 -0400 In-Reply-To: <20180518142318.200260-1-glider@google.com> (Alexander Potapenko's message of "Fri, 18 May 2018 16:23:18 +0200") Message-ID: MIME-Version: 1.0 Content-Type: text/plain Sender: stable-owner@vger.kernel.org List-ID: Alexander, > This shall help avoid copying uninitialized memory to the userspace > when calling ioctl(fd, SG_IO) with an empty command. Applied to 4.17/scsi-fixes. Thank you! -- Martin K. Petersen Oracle Linux Engineering