[PATCH v3 09/10] ethdev: fix possible null pointer access

Andrew Rybchenko andrew.rybchenko at oktetlabs.ru
Thu May 12 12:29:32 CEST 2022


On 5/5/22 11:02, Chengwen Feng wrote:
> The rte_tel_data_alloc() may return NULL, so the caller should add
> judgement for it.
> 
> Fixes: 083b0b310b19 ("ethdev: add common stats for telemetry")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Chengwen Feng <fengchengwen at huawei.com>

Reviewed-by: Andrew Rybchenko <andrew.rybchenko at oktetlabs.ru>



More information about the dev mailing list