Re: [PATCH v2 24/44] net/netvsc: fix segment fault when parse devargs

2023-07-03 Thread Stephen Hemminger
On Mon, 20 Mar 2023 09:20:50 + 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 par

RE: [PATCH v2 24/44] net/netvsc: fix segment fault when parse devargs

2023-03-21 Thread Long Li
> Subject: [PATCH v2 24/44] net/netvsc: 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

[PATCH v2 24/44] net/netvsc: 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: a25d39a3eb69 ("net/netvsc: a