On Mon, 20 Mar 2023 09:20:30 +0000 Chengwen Feng <fengcheng...@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: 4c173302c307 ("pcap: add new driver") > Fixes: 53bf48403409 ("net/pcap: capture only ingress packets from Rx iface") > Fixes: c9507cd0cada ("net/pcap: support physical interface MAC address") > Fixes: a3f5252e5cbd ("net/pcap: enable infinitely Rx a pcap file") > Cc: sta...@dpdk.org > > Signed-off-by: Chengwen Feng <fengcheng...@huawei.com> Acked-by: Stephen Hemminger <step...@networkplumber.org>