[PATCH 2/4] crypto/talitos: unmap h/w generated IV

Kim Phillips kim.phillips at freescale.com
Tue Jun 17 02:10:45 EST 2008


Signed-off-by: Kim Phillips <kim.phillips at freescale.com>
---
 drivers/crypto/talitos.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/crypto/talitos.c b/drivers/crypto/talitos.c
index f301e95..ce4787e 100644
--- a/drivers/crypto/talitos.c
+++ b/drivers/crypto/talitos.c
@@ -654,6 +654,7 @@ static void ipsec_esp_unmap(struct device *dev,
 			    struct ipsec_esp_edesc *edesc,
 			    struct aead_request *areq)
 {
+	unmap_single_talitos_ptr(dev, &edesc->desc.ptr[6], DMA_FROM_DEVICE);
 	unmap_single_talitos_ptr(dev, &edesc->desc.ptr[3], DMA_TO_DEVICE);
 	unmap_single_talitos_ptr(dev, &edesc->desc.ptr[2], DMA_TO_DEVICE);
 	unmap_single_talitos_ptr(dev, &edesc->desc.ptr[0], DMA_TO_DEVICE);
-- 
1.5.6.rc2.26.g8c37




More information about the Linuxppc-dev mailing list