[dpdk-dev] [PATCH] net/ixgbe: fix crash on detach
Burakov, Anatoly
anatoly.burakov at intel.com
Wed May 30 16:48:46 CEST 2018
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 <anatoly.burakov at intel.com>
> Signed-off-by: Pablo de Lara <pablo.de.lara.guarch at intel.com>
> ---
Tested-by: Anatoly Burakov <anatoly.burakov at intel.com>
--
Thanks,
Anatoly
More information about the dev
mailing list