Previous attempts [1] at fixing the resource leak have been deemed unsuccessful because of limitations around what can be done without breaking the ABI. Now that we've broken the EAL ABI, we can fix this issue properly.
This patchset is adding a new lock API, as well as fixes the actual issue. The patchset depends on mem config patchset [2]. v3: - Accidentally squashed with previous patch, reverted v2: - Addressed review comments and squashed patches [1] http://patches.dpdk.org/patch/53334/ [2] http://patches.dpdk.org/project/dpdk/list/?series=5369 Anatoly Burakov (1): timer: fix resource leak in finalize lib/librte_eal/common/eal_common_mcfg.c | 14 +++++++ lib/librte_eal/common/eal_memcfg.h | 2 + .../common/include/rte_eal_memconfig.h | 22 ++++++++++ lib/librte_eal/rte_eal_version.map | 2 + lib/librte_timer/rte_timer.c | 41 +++++++++++++------ lib/librte_timer/rte_timer.h | 5 ++- 6 files changed, 71 insertions(+), 15 deletions(-) -- 2.17.1