All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: Alexander Potapenko <glider@google.com>
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()
Date: Fri, 18 May 2018 10:31:26 -0400	[thread overview]
Message-ID: <yq1y3ghghmp.fsf@oracle.com> (raw)
In-Reply-To: <20180518142318.200260-1-glider@google.com> (Alexander Potapenko's message of "Fri, 18 May 2018 16:23:18 +0200")


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

  reply	other threads:[~2018-05-18 14:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-18 14:23 [PATCH] scsi: sg: allocate with __GFP_ZERO in sg_build_indirect() Alexander Potapenko
2018-05-18 14:31 ` Martin K. Petersen [this message]
2018-05-18 16:15 ` Christoph Hellwig

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=yq1y3ghghmp.fsf@oracle.com \
    --to=martin.petersen@oracle.com \
    --cc=dgilbert@interlog.com \
    --cc=dvyukov@google.com \
    --cc=glider@google.com \
    --cc=hare@suse.com \
    --cc=jejb@linux.vnet.ibm.com \
    --cc=jthumshirn@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=stable@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.