From: Bart Van Assche <bart.vanassche@sandisk.com>
To: <mchristi@redhat.com>, <target-devel@vger.kernel.org>
Cc: <bart.vanassche@sandisk.com>, <stable@vger.kernel.org>
Subject: Re: [PATCH 1/1] target: fix max_unmap_lba_count calc overflow
Date: Fri, 3 Jun 2016 14:15:21 -0700 [thread overview]
Message-ID: <ea40885b-0c18-1632-06bd-3e6d880bb51e@sandisk.com> (raw)
In-Reply-To: <1464916357-8008-1-git-send-email-mchristi@redhat.com>
On 06/02/2016 06:12 PM, mchristi@redhat.com wrote:
> max_discard_sectors only 32bits, and some non scsi backend
> devices will set this to the max 0xffffffff, so we can end up
> overflowing during the max_unmap_lba_count calculation.
Reviewed-by: Bart Van Assche <bart.vanassche@sandisk.com>
next prev parent reply other threads:[~2016-06-03 21:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-03 1:12 [PATCH 1/1] target: fix max_unmap_lba_count calc overflow mchristi
2016-06-03 21:15 ` Bart Van Assche [this message]
2016-06-09 5:20 ` Nicholas A. Bellinger
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=ea40885b-0c18-1632-06bd-3e6d880bb51e@sandisk.com \
--to=bart.vanassche@sandisk.com \
--cc=mchristi@redhat.com \
--cc=stable@vger.kernel.org \
--cc=target-devel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox