Re: [dpdk-dev] [PATCH] net/i40e: fix the security risk of wild pointer operation

2020-05-17 Thread Ye Xiaolong
Hi, Wei On 05/18, Zhao1, Wei wrote: >HI, Xiaolong & guojia > >> -Original Message- >> From: Ye, Xiaolong >> Sent: Friday, May 15, 2020 3:28 PM >> To: Guo, Jia >> Cc: Zhao1, Wei ; dev@dpdk.org; sta...@dpdk.org; >> Xing, Beilei >&g

Re: [dpdk-dev] [PATCH] net/i40e: fix the security risk of wild pointer operation

2020-05-17 Thread Zhao1, Wei
HI, Xiaolong & guojia > -Original Message- > From: Ye, Xiaolong > Sent: Friday, May 15, 2020 3:28 PM > To: Guo, Jia > Cc: Zhao1, Wei ; dev@dpdk.org; sta...@dpdk.org; > Xing, Beilei > Subject: Re: [dpdk-dev] [PATCH] net/i40e: fix the security risk of wild >

Re: [dpdk-dev] [PATCH] net/i40e: fix the security risk of wild pointer operation

2020-05-15 Thread Ye Xiaolong
On 05/15, Jeff Guo wrote: >hi, zhaowei > >On 5/12/2020 11:19 PM, Wei Zhao wrote: >> In i40e PMD code of function i40e_res_pool_free(), if valid_entry is >> freed by "rte_free(valid_entry);" in the following code: >> >> if (prev != NULL) { >> >> >> if (insert == 1) {

Re: [dpdk-dev] [PATCH] net/i40e: fix the security risk of wild pointer operation

2020-05-14 Thread Jeff Guo
hi, zhaowei On 5/12/2020 11:19 PM, Wei Zhao wrote: In i40e PMD code of function i40e_res_pool_free(), if valid_entry is freed by "rte_free(valid_entry);" in the following code: if (prev != NULL) { if (insert == 1) { LIST_REMOVE(valid_entry, next); rte

Re: [dpdk-dev] [PATCH] net/i40e: fix the security risk of wild pointer operation

2020-05-14 Thread Zhao1, Wei
Can any one view for this patch? Thanks! > -Original Message- > From: Zhao1, Wei > Sent: Tuesday, May 12, 2020 11:19 PM > To: dev@dpdk.org > Cc: sta...@dpdk.org; Xing, Beilei ; Zhao1, Wei > > Subject: [PATCH] net/i40e: fix the security risk of wild pointer operation > > In i40e PMD cod

[dpdk-dev] [PATCH] net/i40e: fix the security risk of wild pointer operation

2020-05-11 Thread Wei Zhao
In i40e PMD code of function i40e_res_pool_free(), if valid_entry is freed by "rte_free(valid_entry);" in the following code: if (prev != NULL) { if (insert == 1) { LIST_REMOVE(valid_entry, next); rte_free(valid_entry); } else { rte_free(valid_entry