95df1d78c6
Static analysis shows that once instance of rte_zmalloc is missing a return value check in the code. This is fixed by adding a return value check. The malloc call itself is moved to earlier in the function so that no work is done unless all memory allocation requests have succeeded - thereby removing the need for rollback on error. Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> |
||
---|---|---|
.. | ||
cmdline.c | ||
config.c | ||
init.c | ||
ip_pipeline.cfg | ||
ip_pipeline.sh | ||
main.c | ||
main.h | ||
Makefile | ||
pipeline_firewall.c | ||
pipeline_flow_classification.c | ||
pipeline_ipv4_frag.c | ||
pipeline_ipv4_ras.c | ||
pipeline_passthrough.c | ||
pipeline_routing.c | ||
pipeline_rx.c | ||
pipeline_tx.c |