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 args with 'only keys' (e.g. 'mac,representor'). Fixes: c10cdce180a6 ("ethdev: support MAC address as iterator filter") Fixes: a7d3c6271d55 ("ethdev: support representor id as iterator filter") Cc: [email protected] Signed-off-by: Chengwen Feng <[email protected]>
Acked-by: Andrew Rybchenko <[email protected]>

