[PATCH 2/9] compressdev: fix segment fault when parse input args

2023-03-01 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' (e.g. socket_id). Fixes: ed7dd94f7f6

[PATCH 2/9] compressdev: fix segment fault when parse input args

2023-03-01 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' (e.g. socket_id). Fixes: ed7dd94f7f6