[Openswan dev] IPComp

Herbert Xu herbert at gondor.apana.org.au
Sat Jul 3 11:50:58 CEST 2004


Paul Wouters <paul at xelerance.com> wrote:
> 
> He mailed me the barfs seperately. the key line is:
> 
> Jul  2 15:57:30 vin pluto[29579]: "BRU" #3: ERROR: netlink response for Add SA comp.661a at hhh.hhh.hhh.158 included errno 12: Cannot allocate memory
> Jul  2 15:57:30 vin pluto[29579]: "BRU" #4: ERROR: netlink response for Add SA comp.661a at hhh.hhh.hhh.158 included errno 12: Cannot allocate memory

These indicate that a kmalloc in the path of adding IPCOMP SAs failed.

Hmm, there is a 64K kmalloc in ipcomp_init_state.  That's the most likely
culprit.  What does cat /proc/slabinfo show?

James, is there any way to get rid of this kmalloc?

It'd also be nice to know exactly what kernel version he is using.
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert at gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


More information about the Dev mailing list