> -Original Message-
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Qiming Yang
> Sent: Wednesday, December 5, 2018 11:56 AM
> To: dev@dpdk.org
> Cc: Yang, Qiming ; sta...@dpdk.org
> Subject: [dpdk-dev] [PATCH] lib: add warning for NULL pointer
>
> May
On Wed, 5 Dec 2018 19:55:31 +0800
Qiming Yang wrote:
> May return NULL when manage tries for packet in acl library. So
> this patch added warning for the NULL pointer return.
>
> Fixes: 074f54ad03ee ("acl: fix build and runtime for default target")
> Cc: sta...@dpdk.org
>
> Signed-off-by: Qimi
org
> Subject: Re: [dpdk-dev] [PATCH] lib: add warning for NULL pointer
>
> Hi,
>
> Should not the warning be stated for ' alloc_completion' failure
>
> Snipped
>
> > flows->num_packets * flows->catego
Hi,
Should not the warning be stated for ' alloc_completion' failure
Snipped
> flows->num_packets * flows->categories);
> }
>
> + if (flows->last_cmplt == NULL)
> + RTE_LOG(WARNING, MALLOC, "packet tries allocate
> fail
May return NULL when manage tries for packet in acl library. So
this patch added warning for the NULL pointer return.
Fixes: 074f54ad03ee ("acl: fix build and runtime for default target")
Cc: sta...@dpdk.org
Signed-off-by: Qiming Yang
---
lib/librte_acl/acl_run.h | 3 +++
1 file changed, 3 inse
5 matches
Mail list logo