From: Jens Axboe <axboe@kernel.dk>
To: Xiaotian Feng <dfeng@redhat.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] block: check for proper length of iov entries earlier in blk_rq_map_user_iov()
Date: Mon, 29 Nov 2010 10:04:12 +0100 [thread overview]
Message-ID: <4CF36C8C.1030506@kernel.dk> (raw)
In-Reply-To: <1291021255-2838-1-git-send-email-dfeng@redhat.com>
On 2010-11-29 10:00, Xiaotian Feng wrote:
> commit 9284bcf checks for proper length of iov entries in
> blk_rq_map_user_iov(). But if the map is unaligned, kernel
> will break out the loop without checking for the proper length.
> So we need to check the proper length before the unalign check.
Thanks, good catch. Applied.
--
Jens Axboe
prev parent reply other threads:[~2010-11-29 9:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-29 9:00 [PATCH] block: check for proper length of iov entries earlier in blk_rq_map_user_iov() Xiaotian Feng
2010-11-29 9:04 ` 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=4CF36C8C.1030506@kernel.dk \
--to=axboe@kernel.dk \
--cc=dfeng@redhat.com \
--cc=linux-kernel@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.