Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1765362AbYCUXFs (ORCPT ); Fri, 21 Mar 2008 19:05:48 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1763245AbYCUWvP (ORCPT ); Fri, 21 Mar 2008 18:51:15 -0400 Received: from 216-99-217-87.dsl.aracnet.com ([216.99.217.87]:59390 "EHLO sous-sol.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1763788AbYCUWvI (ORCPT ); Fri, 21 Mar 2008 18:51:08 -0400 Message-Id: <20080321224427.916908907@sous-sol.org> References: <20080321224250.144333319@sous-sol.org> User-Agent: quilt/0.46-1 Date: Fri, 21 Mar 2008 15:43:41 -0700 From: Chris Wright To: linux-kernel@vger.kernel.org, stable@kernel.org, jejb@kernel.org Cc: Justin Forbes , Zwane Mwaikambo , "Theodore Ts'o" , Randy Dunlap , Dave Jones , Chuck Wolber , Chris Wedgwood , Michael Krufky , Chuck Ebbert , Domenico Andreoli , torvalds@linux-foundation.org, akpm@linux-foundation.org, alan@lxorguk.ukuu.org.uk, Dan Williams , Shannon Nelson , Greg Kroah-Hartman Subject: [patch 51/76] ioat: fix ack handling, driver must ensure that ack is zero Content-Disposition: inline; filename=ioat-fix-ack-handling-driver-must-ensure-that-ack-is-zero.patch Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1247 Lines: 44 -stable review patch. If anyone has any objections, please let us know. --------------------- From: Dan Williams Initialize 'ack' to zero in case the descriptor has been recycled. Prevents "kernel BUG at crypto/async_tx/async_xor.c:185!" Signed-off-by: Dan Williams Acked-by: Shannon Nelson [chrisw@sous-sol.org: backport to 2.6.24.3] Signed-off-by: Chris Wright Signed-off-by: Greg Kroah-Hartman --- drivers/dma/ioat_dma.c | 2 ++ 1 file changed, 2 insertions(+) --- a/drivers/dma/ioat_dma.c +++ b/drivers/dma/ioat_dma.c @@ -726,6 +726,7 @@ static struct dma_async_tx_descriptor *i if (new) { new->len = len; + new->async_tx.ack = 0; return &new->async_tx; } else return NULL; @@ -749,6 +750,7 @@ static struct dma_async_tx_descriptor *i if (new) { new->len = len; + new->async_tx.ack = 0; return &new->async_tx; } else return NULL; -- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/