Asaf Penso 3f22e3153f net/mlx5: check memory allocation in flow creation
rte_calloc functions returns a non-null pointer in case of
success and null pointer in case of failure.

The return value should be checked and the function flow
should take that into consideration.

This patch adds a check for rte_calloc return value in function
flow_list_create.

Fixes: 84c406e74524 ("net/mlx5: add flow translate function")
Cc: stable@dpdk.org

Signed-off-by: Asaf Penso <asafp@mellanox.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
2019-07-05 01:52:02 +02:00
..
2019-06-13 23:54:29 +09:00
2019-06-14 00:01:06 +09:00
2019-07-03 12:57:30 +02:00
2019-06-28 20:32:18 +02:00
2019-07-06 10:32:34 +02:00
2019-07-03 12:57:30 +02:00
2019-06-06 20:21:20 +09:00
2019-06-06 20:21:20 +09:00
2019-07-05 01:52:01 +02:00