Re: Possible memory leak in xfrm_policy_insert

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



   From: Herbert Xu <herbert@gondor.apana.org.au>
   Date: Wed, 11 Jun 2003 19:12:06 +1000

   On Wed, Jun 11, 2003 at 10:02:14AM +1000, herbert wrote:
   > 
   > I've got a better idea.  We can make flow_cache_flush take out all
   > out-of-date entries as determined by genid.  I'll code it tonight.
   
   Here is the patch with the objectless flow_cache_flush plus the
   percpu stuff.

hweight32() will only work on 32-bit systems.

I don't know what I think about this patch.

You know what might work better?  A periodic per-cpu timer that
does exactly this, flushing out-of-date entries.
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux