Messages in this thread | | | Date | Thu, 26 Feb 2009 14:41:08 +0800 | From | Herbert Xu <> | Subject | Re: ixp4xx_crypto panic with fragmented packets in scatterlist |
| |
Christian Hohnstaedt <chohnstaedt@innominate.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@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
| |