[dpdk-stable] [dpdk-dev] [PATCH] net/iavf: fix shared local data in multi-process

Zhang, Qi Z qi.z.zhang at intel.com
Thu Oct 28 01:50:31 CEST 2021



> -----Original Message-----
> From: dev <dev-bounces at dpdk.org> On Behalf Of dapengx.yu at intel.com
> Sent: Wednesday, October 27, 2021 4:29 PM
> To: Wu, Jingjing <jingjing.wu at intel.com>; Xing, Beilei <beilei.xing at intel.com>
> Cc: dev at dpdk.org; Yu, DapengX <dapengx.yu at intel.com>; stable at dpdk.org
> Subject: [dpdk-dev] [PATCH] net/iavf: fix shared local data in multi-process
> 
> From: Dapeng Yu <dapengx.yu at intel.com>
> 
> The shared pointer is initialized to a static local array defined in the primary
> process and it shall not be accessed in the secondary process.
> 
> This patch copies the local data to shared data, to avoid data access violation.
> 
> Fixes: 040b44551f77 ("net/iavf: unify Rx packet type table")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Dapeng Yu <dapengx.yu at intel.com>

Acked-by: Qi Zhang <qi.z.zhang at intel.com>

Applied to dpdk-next-net-intel.

Thanks
Qi


More information about the stable mailing list