Fixed 2 memory leaks in mempool management code + a big clean up. First two patches are simple fixes for leaks while the third one simplifies the whole mempool management by removing redundant struct dpdk_mp.
To be honest, patch #3 removes all the buggy conditions fixed in the first two patches, but I think that it'll be very unclear where was that leaks if we apply only the third patch. Patch #4 removes old macro which is not used since per-port mempool allocation implemented. Ilya Maximets (4): netdev-dpdk: Fix mp_name leak on snprintf failure. netdev-dpdk: Fix dpdk_mp leak in case of EEXIST. netdev-dpdk: Factor out struct dpdk_mp. netdev-dpdk: Remove unused MAX_NB_MBUF. lib/netdev-dpdk.c | 201 +++++++++++++++++++----------------------------------- 1 file changed, 69 insertions(+), 132 deletions(-) -- 2.7.4 _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
