> -----Original Message-----
> From: dev [mailto:[email protected]] On Behalf Of Pablo de Lara
> Sent: Thursday, May 31, 2018 5:53 PM
> To: Lu, Wenzhuo <[email protected]>; Ananyev, Konstantin
> <[email protected]>
> Cc: [email protected]; De Lara Guarch, Pablo <[email protected]>;
> [email protected]
> Subject: [dpdk-dev] [PATCH v3] net/ixgbe: fix crash on detach
> 
> 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
> 
> Bugzilla ID: 57
> Fixes: cf80ba6e2038 ("net/ixgbe: add support for representor ports")
> Cc: [email protected]
> 
> Reported-by: Anatoly Burakov <[email protected]>
> Signed-off-by: Pablo de Lara <[email protected]>
> Tested-by: Anatoly Burakov <[email protected]>
> Acked-by: Remy Horton <[email protected]>

Applied to dpdk-next-net-intel

Thanks!
Qi

Reply via email to