From: Kazunori MIYAZAWA <[EMAIL PROTECTED]> Date: Wed, 6 Dec 2006 20:35:37 +0900
> Sorry, I mixed up changes in the patches. I described that [4/7] will add > "IPv6 over IPv4 IPsec tunnel". However I send a patch for "IPv4 over IPv6" > as a reply because it includes the discussing item. > So this patch adds IPv4 over IPv6 IPsec tunnel. It's complicated. > > I deleted subustituting NULL for rt->peer and moved atomic_inc stuff > under the "if" section. I have applied this patch, thanks for fixing it up. > BTW, I have a question about descrementing the reference count of > rt->peer. The reference cound in normal "dst" structure is > decremented by calling inet_putpeer from ipv4_dst_destroy. But > xfrm4_dst_destroy does not call inet_putpeer. Where do we decrement > the count? Should xfrm4_dst_destroy do that? Indeed, it is a real leak. And yes, I believe that xfrm4_dst_destroy() should release it. I will make this fix, thank you. - 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