21/10/2017 02:26, Ferruh Yigit: > On 10/16/2017 4:45 AM, Tomasz Duszynski wrote: > > Since virtual devices, i.e mrvl net pmd, do not touch pci_dev > > dereferencing it will cause segmentation fault as by default > > it's set to NULL in rte_eth_dev_info_get(). > > > > Signed-off-by: Tomasz Duszynski <t...@semihalf.com> > > Acked-by: Ferruh Yigit <ferruh.yi...@intel.com>
Fixed title: examples/kni: check PCI info not NULL before reading Applied, thanks The patch 2/2 is left alone as it may be unneeded.