[PATCH v2 02/10] net/nfp: fix malloc name problem in secondary process

Stephen Hemminger stephen at networkplumber.org
Sat Oct 12 04:45:13 CEST 2024


On Sat, 12 Oct 2024 10:40:59 +0800
Chaoyong He <chaoyong.he at corigine.com> wrote:

> The original logic keeps using the same name parameter when malloc
> memory in secondary process, which may cause error when using
> multiple PF cards.
> 
> Fixes: 3b00109d2b65 ("net/nfp: add PF ID used to format symbols")
> Cc: peng.zhang at corigine.com
> Cc: stable at dpdk.org
> 
> Signed-off-by: Chaoyong He <chaoyong.he at corigine.com>
> Reviewed-by: Long Wu <long.wu at corigine.com>
> Reviewed-by: Peng Zhang <peng.zhang at corigine.com>

How, the name is ignore mostly by malloc. Only used for tracing.


More information about the dev mailing list