[EXT] [PATCH 4/9] cryptodev: fix segment fault when parse input args

Akhil Goyal gakhil at marvell.com
Thu Mar 2 09:11:15 CET 2023


> 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,max_nb_queue_pairs).
> 
> Fixes: 9e6edea41805 ("cryptodev: add APIs to assist PMD initialisation")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Chengwen Feng <fengchengwen at huawei.com>
Acked-by: Akhil Goyal <gakhil at marvell.com>

I would say, you can squash your 4/9 and 5/9 patch in a single commit.
As you are doing the same thing in both the patches.


More information about the dev mailing list