Christian Ehrhardt 34c4b5846e lpm: fix use after free
There were further chances for a use after free by returning an already
freed pointer in rte_lpm_create for v20 and v1604.
Along that is also makes the RTE_LOG messages of the failed allocations
unique.

Fixes: f1f7261838b3 ("lpm: add a new config structure for IPv4")

Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
2016-03-22 17:55:16 +01:00
..
2016-03-11 15:56:07 +01:00
2015-03-10 12:06:08 +01:00
2015-03-10 12:06:08 +01:00
2016-03-11 15:56:07 +01:00
2016-03-22 17:55:16 +01:00
2016-03-11 15:56:07 +01:00