From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: linux-kernel@vger.kernel.org, xen-devel@lists.xensource.com
Subject: [PATCH v5] Block backend checks for insane ring entries.
Date: Mon, 10 Jun 2013 12:01:44 -0400 [thread overview]
Message-ID: <1370880106-7606-1-git-send-email-konrad.wilk@oracle.com> (raw)
These patches were posted in the past (v2?) and at which point Jan
Beulich suggested to use a different macro. Unfortunatly after a
more exhaustive testing it was found that said macro is not
appropiate and would needlessly hang up the connection.
Hence re-introducing the new macro which will allow to detect
the producer and consumer indexes being greater than the ring size:
[v5 1/2] xen/ring: Add a new macro to detect whether there is an
And the patch which will now use it:
[v5 2/2] xen/blkback: Check for insane amounts of request on the ring
drivers/block/xen-blkback/blkback.c | 12 +++++++++++-
drivers/block/xen-blkback/common.h | 2 ++
drivers/block/xen-blkback/xenbus.c | 2 ++
include/xen/interface/io/ring.h | 6 ++++++
4 files changed, 21 insertions(+), 1 deletion(-)
Konrad Rzeszutek Wilk (2):
xen/ring: Add a new macro to detect whether there is an overflow in requests and response.
xen/blkback: Check for insane amounts of request on the ring (v5).
next reply other threads:[~2013-06-10 16:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-10 16:01 Konrad Rzeszutek Wilk [this message]
2013-06-10 16:01 ` [v5 1/2] xen/ring: Add a new macro to detect whether there is an overflow in requests and response Konrad Rzeszutek Wilk
2013-06-10 16:01 ` [v5 2/2] xen/blkback: Check for insane amounts of request on the ring (v5) Konrad Rzeszutek Wilk
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=1370880106-7606-1-git-send-email-konrad.wilk@oracle.com \
--to=konrad.wilk@oracle.com \
--cc=linux-kernel@vger.kernel.org \
--cc=xen-devel@lists.xensource.com \
/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;
as well as URLs for NNTP newsgroup(s).