IMHO the network memory allocator is being a little too focused on one problem, rather than looking at a general enhancement.
Have you looked into something like the talloc used by Samba (and others)? http://talloc.samba.org/ http://samba.org/ftp/unpacked/samba4/source/lib/talloc/talloc_guide.txt By having a context, we could do better resource tracking and also cleanup would be easier on removal. - 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