> -----Original Message-----
> From: stable <[email protected]> On Behalf Of David Marchand
> Sent: Tuesday, July 6, 2021 16:58
> To: [email protected]
> Cc: [email protected]; Wu, Jingjing <[email protected]>; Xing, Beilei 
> <[email protected]>; Min
> Hu (Connor) <[email protected]>; Yisen Zhuang <[email protected]>; 
> Lijun Ou
> <[email protected]>; Yang, Qiming <[email protected]>; Zhang, Qi Z 
> <[email protected]>; Zhang,
> Helin <[email protected]>; Yigit, Ferruh <[email protected]>; Lu, 
> Wenzhuo
> <[email protected]>; Huisong Li <[email protected]>; Chunsong Feng 
> <[email protected]>;
> Wei Hu (Xavier) <[email protected]>; Hao Chen <[email protected]>
> Subject: [dpdk-stable] [PATCH] drivers: fix memzone allocations for DMA memory
> 
> Caught by code review.
> 
> Using a random name for memzone allocations can result in init failures
> in the unlikely case that a name collision occurs.
> Use a simple sequential generator on 64 bits.
> 
> Fixes: 3f50f072ff06 ("i40e: fix memzone freeing")
> Fixes: 22b123a36d07 ("net/avf: initialize PMD")
> Fixes: 5f0978e96220 ("net/ice/base: add OS specific implementation")
> Fixes: 737f30e1c3ab ("net/hns3: support command interface with firmware")
> Cc: [email protected]
> 
> Signed-off-by: David Marchand <[email protected]>
> ---
>  drivers/common/iavf/iavf_impl.c  | 5 +++--
>  drivers/net/hns3/hns3_cmd.c      | 4 +++-
>  drivers/net/i40e/i40e_ethdev.c   | 4 +++-
>  drivers/net/ice/base/ice_osdep.h | 5 +++--
>  4 files changed, 12 insertions(+), 6 deletions(-)
> 

Acked-by: Haiyue Wang <[email protected]>

> --
> 2.23.0

Reply via email to