Re: [dpdk-dev] [PATCH v1] examples/ethtool: fix segfault querying non-PCI devices

2016-12-20 Thread Thomas Monjalon
2016-11-30 10:47, Remy Horton: > Doing a device information query on a non-PCI device such as > vhost was resulting in the dereferencing of a NULL pointer > (the absent PCI data), causing a segmentation fault. > > Fixes: bda68ab9d1e7 ("examples/ethtool: add user-space ethtool sample > application

[dpdk-dev] [PATCH v1] examples/ethtool: fix segfault querying non-PCI devices

2016-11-30 Thread Remy Horton
Doing a device information query on a non-PCI device such as vhost was resulting in the dereferencing of a NULL pointer (the absent PCI data), causing a segmentation fault. Fixes: bda68ab9d1e7 ("examples/ethtool: add user-space ethtool sample application") Signed-off-by: Remy Horton --- doc/gu