All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: Jan Kara <jack@suse.cz>,
	"James E.J. Bottomley" <JBottomley@parallels.com>
Cc: linux-scsi@vger.kernel.org, stable@vger.kernel.org
Subject: Re: [PATCH] scsi: Fix error handling in SCSI_IOCTL_SEND_COMMAND
Date: Wed, 22 Oct 2014 08:00:42 -0600	[thread overview]
Message-ID: <5447B88A.4020007@kernel.dk> (raw)
In-Reply-To: <1413963026-25974-1-git-send-email-jack@suse.cz>

On 10/22/2014 01:30 AM, Jan Kara wrote:
> When sg_scsi_ioctl() fails to prepare request to submit in
> blk_rq_map_kern() we jump to a label where we just end up copying
> (luckily zeroed-out) kernel buffer to userspace instead of reporting
> error. Fix the problem by jumping to the right label.

Thanks Jan, applied.

-- 
Jens Axboe

      reply	other threads:[~2014-10-22 14:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-22  7:30 [PATCH] scsi: Fix error handling in SCSI_IOCTL_SEND_COMMAND Jan Kara
2014-10-22 14:00 ` Jens Axboe [this message]

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=5447B88A.4020007@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=JBottomley@parallels.com \
    --cc=jack@suse.cz \
    --cc=linux-scsi@vger.kernel.org \
    --cc=stable@vger.kernel.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.