From: Konrad Rzeszutek Wilk Subject: [PATCH] Macro for checking insance amounts of data on the ring (Xen patch). Date: Mon, 10 Jun 2013 12:02:00 -0400 Message-ID: <1370880121-7690-1-git-send-email-konrad.wilk@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Hey, This patch had been posted in the past but had a glaring issue that Jan spotted. This version fixes it. Said macro is being used in the xen-blkback to check whether the indexes are bogus and the ring is overflowed. xen/include/public/io/ring.h | 6 ++++++ 1 file changed, 6 insertions(+) Konrad Rzeszutek Wilk (1): ring/macro: Add a new macro to detect whether there is an overflow in requests and response.