Bug 57

Summary: ixgbe crash on detach when no VF is created
Product: DPDK Reporter: Ferruh YIGIT (ferruh.yigit)
Component: ethdevAssignee: Pablo de Lara (pablo.de.lara.guarch)
Status: RESOLVED FIXED    
Severity: normal CC: ajit.khaparde, anatoly.burakov, declan.doherty, ferruh.yigit
Priority: Normal    
Version: 18.05   
Target Milestone: ---   
Hardware: All   
OS: Linux   

Description Ferruh YIGIT 2018-05-30 19:25:28 CEST
Issue reported by Anatoly Burakov <anatoly.burakov@intel.com>


Steps to reproduce (with ixgbe port):
./testpmd -- -i
> port stop all
> port close all
> port detach 0


The reason of the crash is:
(*vfinfo) is a null pointer at that point, -> dereferences it. 


The issue is introduced in:
commit cf80ba6e2038a54b6c5ba62ce4200234f5aa3880
Author: Declan Doherty <declan.doherty@intel.com>
Date:   Thu Apr 26 11:41:05 2018 +0100

    net/ixgbe: add support for representor ports
Comment 1 Ferruh YIGIT 2018-05-30 19:28:31 CEST
A fix patch has been sent by Pablo:

net/ixgbe: fix crash on detach
https://dpdk.org/dev/patchwork/patch/40516/
Comment 2 Ajit Khaparde 2018-07-10 00:22:09 CEST
Looks like the fix for this has been applied via commit f92b808dd50e.