[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090226064108.GA11726@gondor.apana.org.au>
Date: Thu, 26 Feb 2009 14:41:08 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Christian Hohnstaedt <chohnstaedt@...ominate.com>
Cc: karl@...amoto.org, chohnstaedt@...ominate.com,
linux-crypto@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: ixp4xx_crypto panic with fragmented packets in scatterlist
Christian Hohnstaedt <chohnstaedt@...ominate.com> wrote:
>
> However the scatterlist iteration in the arm implementation of
> dma_map_sg() uses neither of them, but simply sg++
>
> Please try the attached compile-tested patch.
The chaining is only allowed within the crypto layer (because
we haven't ported the generic chaining to all platforms). So
for the time being all drivers must remove the chaining before
giving the scatter list to an external party, such as the DMA
API.
Thanks,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists