On 3/14/2023 12:48 PM, 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'. > > 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 >
Can you please check following callbacks too: `rx_iface_args_process()` `open_tx_iface()`