[lkml]   [2009]   [Feb]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] ixp4xx_crypto panic with fragmented packets in scatterlist
    Russell King - ARM Linux <> 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.

    Visit Openswan at
    Email: Herbert Xu ~{PmV>HI~} <>
    Home Page:
    PGP Key:

     \ /
      Last update: 2009-02-27 01:53    [W:0.037 / U:20.176 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site