> -----Original Message-----
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Ferruh Yigit
> Sent: Friday, July 20, 2018 12:46 AM
> To: John W. Linville <linvi...@tuxdriver.com>; Doherty, Declan
> <declan.dohe...@intel.com>; Chas Williams <ch...@att.com>; Gaetan Rivet
> <gaetan.ri...@6wind.com>; Tetsuya Mukawa <mtetsu...@gmail.com>;
> Santosh Shukla <santosh.shu...@caviumnetworks.com>; Jerin Jacob
> <jerin.ja...@caviumnetworks.com>; Wiles, Keith <keith.wi...@intel.com>;
> Maxime Coquelin <maxime.coque...@redhat.com>; Bie, Tiwei
> <tiwei....@intel.com>; Wang, Zhihong <zhihong.w...@intel.com>
> Cc: dev@dpdk.org; Yigit, Ferruh <ferruh.yi...@intel.com>; sta...@dpdk.org;
> Varghese, Vipin <vipin.vargh...@intel.com>
> Subject: [dpdk-dev] [PATCH] drivers/net: fix segfault in secondary process
> 
> Calling rte_eth_dev_info_get() on secondary process cause a crash because
> eth_dev->device is not set properly.
> 
> Fixes: ee27edbe0c10 ("drivers/net: share vdev data to secondary process")
> Cc: sta...@dpdk.org
> 
> Signed-off-by: Ferruh Yigit <ferruh.yi...@intel.com>

Yes, this is the same issue I met when detaching the device from a secondary 
process.
The backend device should be assigned on secondary.

Reviewed-by: Qi Zhang <qi.z.zh...@intel.com>

Reply via email to