[PATCH 6/9] net/hns3: fix segment fault when parse runtime config
Dongdong Liu
liudongdong3 at huawei.com
Wed Mar 8 08:37:53 CET 2023
On 2023/3/2 15: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 parse input args with 'only keys'
> (e.g. rx_func_hint).
>
> Fixes: a124f9e9591b ("net/hns3: add runtime config to select IO burst function")
> Fixes: 70791213242e ("net/hns3: support masking device capability")
> Fixes: 2fc3e696a7f1 ("net/hns3: add runtime config for mailbox limit time")
> Cc: stable at dpdk.org
>
> Signed-off-by: Chengwen Feng <fengchengwen at huawei.com>
Acked-by: Dongdong Liu <liudongdong3 at huawei.com>
Thanks,
Dongdong
More information about the dev
mailing list