numam-dpdk/examples/kni
Tomasz Duszynski 1e02d735c1 examples/kni: check PCI info not NULL before reading
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 <tdu@semihalf.com>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
2017-10-25 00:03:20 +02:00
..
main.c examples/kni: check PCI info not NULL before reading 2017-10-25 00:03:20 +02:00
Makefile fix typos using codespell utility 2017-06-14 23:54:13 +02:00