[PATCH v2 20/44] net/mana: 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: 517ed6e2d590 ("net/mana: add

RE: [PATCH v2 20/44] net/mana: fix segment fault when parse devargs

2023-03-21 Thread Long Li
> Subject: [PATCH v2 20/44] net/mana: fix segment fault when parse devargs > > 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 wh