Re: [dpdk-dev] [PATCH] net/mlx5: fix check for rte calloc return value

2019-07-02 Thread Raslan Darawsheh
Hi, > -Original Message- > From: dev On Behalf Of Asaf Penso > Sent: Wednesday, June 19, 2019 12:46 > To: Yongseok Koh ; Shahaf Shuler > > Cc: dev@dpdk.org; sta...@dpdk.org > Subject: [dpdk-dev] [PATCH] net/mlx5: fix check for rte calloc return > value > >

Re: [dpdk-dev] [PATCH] net/mlx5: fix check for rte calloc return value

2019-07-02 Thread Slava Ovsiienko
> -Original Message- > From: dev On Behalf Of Asaf Penso > Sent: Wednesday, June 19, 2019 12:46 > To: Yongseok Koh ; Shahaf Shuler > > Cc: dev@dpdk.org; sta...@dpdk.org > Subject: [dpdk-dev] [PATCH] net/mlx5: fix check for rte calloc return value > > rte_cal

[dpdk-dev] [PATCH] net/mlx5: fix check for rte calloc return value

2019-06-19 Thread Asaf Penso
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: 84c406e7

[dpdk-dev] [PATCH] net/mlx5: fix check for rte calloc return value

2019-06-06 Thread Asaf Penso
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: 84c406e7