Re: [PATCH] ixp4xx_crypto panic with fragmented packets in scatterlist

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Russell King - ARM Linux <linux@xxxxxxxxxxxxxxxx> wrote:
>
> I don't think you can use chained scatterlists unless the architecture
> supports it.  It's not a case that you have to flatten the chaining
> before passing it over to the arch - it seems you're not allowed to
> create a chained scatterlist in the first place:
> 
> static inline void sg_chain(struct scatterlist *prv, unsigned int prv_nents,
>                            struct scatterlist *sgl)
> {
> #ifndef ARCH_HAS_SG_CHAIN
>        BUG();
> #endif

The crypto layer does its own chaining.  However, this chaining
is not meant to be exposed to any external entities until generic
chaining has been ported everywhere.

Cheers,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
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-crypto" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux