]> git.droids-corp.org - dpdk.git/commit
net/iavf: fix mbuf release in multi-process
authorKe Zhang <ke1x.zhang@intel.com>
Thu, 19 May 2022 07:36:04 +0000 (07:36 +0000)
committerQi Zhang <qi.z.zhang@intel.com>
Tue, 24 May 2022 02:53:37 +0000 (04:53 +0200)
commitfced83c1229e0ad89f26d07fa7bd46b8767d9f5c
treeef8b9136468ccf0008c69f2f56ac17ffb5cd2b7e
parent1fa739c3f2b3876d21e506c024a3c6bee6562943
net/iavf: fix mbuf release in multi-process

In the multiple process environment, the subprocess operates on the
shared memory and changes the function pointer of the main process,
resulting in the failure to find the address of the function when main
process releasing, resulting in crash.

Fixes: 319c421f3890 ("net/avf: enable SSE Rx Tx")
Cc: stable@dpdk.org
Signed-off-by: Ke Zhang <ke1x.zhang@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/iavf/iavf_rxtx.c
drivers/net/iavf/iavf_rxtx.h
drivers/net/iavf/iavf_rxtx_vec_avx512.c
drivers/net/iavf/iavf_rxtx_vec_sse.c