[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100403083609.GA3654@gondor.apana.org.au>
Date: Sat, 3 Apr 2010 16:36:09 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Timo Teras <timo.teras@....fi>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH 1/4] flow: virtualize flow cache entry methods
On Sat, Apr 03, 2010 at 11:38:57AM +0800, Herbert Xu wrote:
>
> With repsect to removing the cache flush upon policy removal,
> what takes care of the timely purging of the corresponding cache
> entries if no new traffic comes through?
In fact this change would seem to render the existing bundle
pruning mechanism when devices are unregistered ineffective.
xfrm_prune_bundles walks through active policy lists to find
the bundles to purge. However, if a policy has been deleted
while a bundle referencing it is still in the cache, that bundle
will not be pruned.
Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@...dor.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 netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists