[PATCH v2 06/44] net/sfc: 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: 9e7fc8b8f3be ("net/sfc: add

Re: [PATCH v2 06/44] net/sfc: fix segment fault when parse devargs

2023-04-09 Thread Andrew Rybchenko
On 3/20/23 12:20, Chengwen Feng wrote: 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 ke