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

Stephen Hemminger stephen at networkplumber.org
Tue Jul 4 05:02:19 CEST 2023


On Mon, 20 Mar 2023 09:20:50 +0000
Chengwen Feng <fengchengwen at huawei.com> 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 keys'.
> 
> Fixes: a25d39a3eb69 ("net/netvsc: allow tuning latency with devargs")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Chengwen Feng <fengchengwen at huawei.com>

Acked-by: Stephen Hemminger <stephen at networkplumber.org>


More information about the dev mailing list