[PATCH 20.11 v2] net/iavf: fix multi-process shared data

Xueming(Steven) Li xuemingl at nvidia.com
Sat Nov 27 15:27:10 CET 2021


On Thu, 2021-11-11 at 13:48 +0800, dapengx.yu at intel.com wrote:
> From: Dapeng Yu <dapengx.yu at intel.com>
> 
> [ upstream commit 435d523112ccef6cb58edba3062ea05a2f6544fc ]
> 
> When the iavf_adapter instance is not initialized completedly in the
> primary process, the secondary process accesses its "rte_eth_dev"
> member, it causes secondary process crash.
> 
> This patch replaces eth_dev with eth_dev_data in iavf_adapter.
> 
> Fixes: f978c1c9b3b5 ("net/iavf: add RSS hash parsing in AVX path")
> Fixes: 9c9aa0040344 ("net/iavf: add offload path for Rx AVX512 flex descriptor")
> Fixes: 63660ea3ee0b ("net/iavf: add RSS hash parsing in SSE path")
> 
> Signed-off-by: Dapeng Yu <dapengx.yu at intel.com>
> ---
> V2:
> * Simplify parameters of iavf_request_queues
> * Clean commit log
> ---

Applied to 20.11.4 list, thanks!


More information about the stable mailing list