On 30-May-18 7:31 AM, Pablo de Lara wrote:
When detaching a port bound to ixgbe PMD, if the port does not have any VFs, *vfinfo is not set and there is a NULL dereference attempt, when calling rte_eth_switch_domain_free(), which expects VFs to be used, causing a segmentation fault.Steps to reproduce: ./testpmd -- -i testpmd> port stop all testpmd> port close all testpmd> port detach 0 Fixes: cf80ba6e2038 ("net/ixgbe: add support for representor ports") Reported-by: Anatoly Burakov <[email protected]> Signed-off-by: Pablo de Lara <[email protected]> ---
Tested-by: Anatoly Burakov <[email protected]> -- Thanks, Anatoly

