[Patch] Add support for lattice element free

7 views
Skip to first unread message

Jun Xiao

unread,
Sep 23, 2013, 11:02:39 AM9/23/13
to paris-tr...@googlegroups.com
This is very useful to cleanup memory after pt_loop done.

Thanks,
Jun
0004-Add-support-for-lattice-element-free.patch

Jun Xiao

unread,
Sep 25, 2013, 2:27:01 AM9/25/13
to paris-tr...@googlegroups.com
Please ignore the previous patch which doesn't deal with lattice with load balance routers.

This patch add more things:

- reference count for mda_interface_t, so the interface can be deferred to free until no reference.
- lattice element will be conditionally freed depending on user data (i.e. mda_interface_t) is ready to free or not
- some misc fixes on memory leak on corner cases.

Thanks,
Jun

Jun Xiao

unread,
Sep 25, 2013, 2:46:57 AM9/25/13
to paris-tr...@googlegroups.com
Forgot the attachment.
0004-Add-support-for-lattice-element-free.patch
Reply all
Reply to author
Forward
0 new messages