The async_tx descriptors contains dangling pointers. Hence, re-initialize them to NULL before use. Signed-off-by: Vishnu Suresh <Vishnu@xxxxxxxxxxxxx> --- o. Rebased to linux-next as of 20091214 drivers/crypto/talitos.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/drivers/crypto/talitos.c b/drivers/crypto/talitos.c index 87f06be..9e261c6 100644 --- a/drivers/crypto/talitos.c +++ b/drivers/crypto/talitos.c @@ -952,6 +952,9 @@ static struct dma_async_tx_descriptor * talitos_prep_dma_xor( return NULL; } dma_async_tx_descriptor_init(&new->async_tx, &xor_chan->common); + new->async_tx.parent = NULL; + new->async_tx.next = NULL; + desc = &new->hwdesc; /* Set destination: Last pointer pair */ -- 1.6.4.2 -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html