netdev
[Top] [All Lists]

Re: [Openswan dev] IPComp

To: James Morris <jmorris@xxxxxxxxxx>
Subject: Re: [Openswan dev] IPComp
From: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 7 Jul 2004 07:31:35 +1000
Cc: Paul Wouters <paul@xxxxxxxxxxxxx>, "D. Hugh Redelmeier" <hugh@xxxxxxxxxx>, dev@xxxxxxxxxxxxxxxxxx, Dominique Blas <ml@xxxxxxxx>, netdev@xxxxxxxxxxx
In-reply-to: <Xine.LNX.4.44.0407061031090.22633-100000@xxxxxxxxxxxxxxxxxxxxxxxx>
References: <20040703113732.GA22082@xxxxxxxxxxxxxxxxxxx> <Xine.LNX.4.44.0407061031090.22633-100000@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.6+20040523i
On Tue, Jul 06, 2004 at 10:34:55AM -0400, James Morris wrote:
> 
> It's only called when an SA is initialized.  This should not happen all 
> the time, and if you can't find 64k for such an ooperation you have big 
> problems.

With most KMs the SAs are renegotiated periodically.  So as time
goes on memory fragmentation will eventually cause this to fail.
You also to consider IPsec gateways where there are hundreds or
thousands of SAs.

Maybe we can use a vmalloc instead? That seems to be what the
deflate module does.

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

<Prev in Thread] Current Thread [Next in Thread>