Roberto Sassu <myrobm...@gmail.com> wrote: > > when dumping the data placed pointed by the scatterlist array i noted that > the > assoc is always zero'ed. I investigated further and it seems that the problem > is the static allocation of the assoc string in my test module. When using > the > kmalloc the dump is correct.
Right, static allocation in general is incompatible with any interface that uses scatterlists. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <herb...@gondor.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-crypto" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html