[PATCH v3 10/10] net/cnxk: fix telemetry possible null pointer access

Andrew Rybchenko andrew.rybchenko at oktetlabs.ru
Thu May 12 12:30:43 CEST 2022


On 5/5/22 11:02, Chengwen Feng wrote:
> The return value of rte_tel_data_alloc() may be null pointer, in this
> patch, the null check function is added.
> 
> Fixes: 5ea354a1f2cc ("net/cnxk: support 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