Poking a bit on autotest revealed a few shortcomings in the lpm allocation path. Thanks to the feedback to the first revision of the patches here v2:
*updates in v2* - lpm/lpm6 patches split - following dpdk coding guidelines regarding single line if's - adding singed-off and acked-bys gathered so far - combine all three related patches in one series [PATCH 1/3] lpm6: fix use after free of lpm in rte_lpm6_create [PATCH 2/3] lpm6: fix missing free of rules_tbl and lpm [PATCH 3/3] lpm: fix missing free of lpm rte_lpm.c | 8 ++------ rte_lpm6.c | 11 +++++------ 2 files changed, 7 insertions(+), 12 deletions(-)