[dpdk-stable] [dpdk-dev] [PATCH] drivers/net: fix segfault in	secondary process
    Ferruh Yigit 
    ferruh.yigit at intel.com
       
    Fri Jul 20 12:13:07 CEST 2018
    
    
  
On 7/19/2018 5:32 PM, Stephen Hemminger wrote:
> On Thu, 19 Jul 2018 17:45:56 +0100
> Ferruh Yigit <ferruh.yigit at intel.com> wrote:
> 
>> 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: stable at dpdk.org
>>
>> Signed-off-by: Ferruh Yigit <ferruh.yigit at intel.com>
> 
> Good catch.
> 
> Maybe eth_dev should do this for the device drivers?
> Better to make device drivers as simple and safe as possible.
Agreed, let me try to create a helper function for this.
> 
> There seem to be a lot of bugs related to secondary process model.
> Do we have a test suite for that.
> 
    
    
More information about the stable
mailing list