On Wed, Jan 10, 2007 at 10:06:05PM -0800, David Miller wrote: > > One thing we could do is force a full flow cache flush when some > percentage before the generation count would overflow. Say every > %80 of the generation ID space? That gives enough space to ensure > the flush tasklet runs before the ID really does wrap.
Yes that would be a good solution. It'd prevent overflows from causing any damage and is also pretty light weight (just a single comparison every time the genid changes). Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html