Re: [PATCH v2 13/44] net/enic: fix segment fault when parse devargs

2023-03-20 Thread John Daley (johndale)
Reviewed-by: John Daley johnd...@cisco.com<mailto:johnd...@cisco.com> From: Chengwen Feng Date: Monday, March 20, 2023 at 2:28 AM To: tho...@monjalon.net , ferruh.yi...@amd.com , John Daley (johndale) , Hyong Youb Kim (hyonkim) Cc: dev@dpdk.org Subject: [PATCH v2 13/44] net/eni

[PATCH v2 13/44] net/enic: fix segment fault when parse devargs

2023-03-20 Thread Chengwen Feng
The rte_kvargs_process() was used to parse KV pairs, it also supports to parse 'only keys' (e.g. socket_id) type. And the callback function parameter 'value' is NULL when parsed 'only keys'. This patch fixes segment fault when parse input args with 'only keys'. Fixes: 93fb21fdbe23 ("net/enic: ena