Bug 57 - ixgbe crash on detach when no VF is created
Summary: ixgbe crash on detach when no VF is created
Status: RESOLVED FIXED
Alias: None
Product: DPDK
Classification: Unclassified
Component: ethdev (show other bugs)
Version: 18.05
Hardware: All Linux
: Normal normal
Target Milestone: ---
Assignee: Pablo de Lara
URL:
Depends on:
Blocks:
 
Reported: 2018-05-30 19:25 CEST by Ferruh YIGIT
Modified: 2018-07-10 00:22 CEST (History)
4 users (show)



Attachments

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.

Note You need to log in before you can comment on or make changes to this bug.