Tetsuya Mukawa 5c11cefe0e ethdev: fix illegal port access
To obtain detachable flag, pci_drv is accessed in rte_eth_dev_is_detachable().
But pci_drv is only valid if port is enabled. Not to cause illegal access,
add rte_eth_dev_is_valid_port() before accessing.

Signed-off-by: Tetsuya Mukawa <mukawa@igel.co.jp>
Acked-by: Bernard Iremonger <bernard.iremonger@intel.com>
2015-08-09 19:48:12 +02:00
..
2015-08-09 19:45:25 +02:00
2015-06-24 12:01:14 +02:00
2015-08-09 19:45:25 +02:00
2015-02-24 22:12:35 +01:00
2015-08-03 13:50:00 +02:00
2015-06-19 12:11:53 +02:00
2015-08-03 12:43:01 +02:00
2015-07-16 13:44:48 +02:00