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: Mon, 9 Jun 2003 20:07:30 +1000

   On Mon, Jun 09, 2003 at 07:29:34PM +1000, herbert wrote:
   > 
   > The references will disappear after the next rcu transition which is not
   > dependent on packets flowing through the engine.
   
   OK, here is the patch with no destructors.  I've changed the calling
   convention of xfrm_policy_kill.  It will now drop the last reference
   for you, asynchronously.
   
Please don't use 2.5.x-only features in the IPSEC code of 2.5.x,
in this case RCU.

This makes it impossible for me to backport your work to 2.4.x
-
: 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