> -Original Message-
> From: Weiguo Li
> Sent: Tuesday, January 25, 2022 10:23 PM
> To: Wu, Jingjing
> Cc: Nicolau, Radu ; dev@dpdk.org
> Subject: [PATCH] net/iavf: fix null pointer dereference
>
> Check for memory allocation failure is added to avoid nu
On 1/25/2022 2:23 PM, Weiguo Li wrote:
Check for memory allocation failure is added to avoid null
pointer dereference.
Fixes: 6bc987ecb860 ("net/iavf: support IPsec inline crypto")
Signed-off-by: Weiguo Li
---
Acked-by: Radu Nicolau
Check for memory allocation failure is added to avoid null
pointer dereference.
Fixes: 6bc987ecb860 ("net/iavf: support IPsec inline crypto")
Signed-off-by: Weiguo Li
---
drivers/net/iavf/iavf_ipsec_crypto.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/iavf/iavf_ipsec_crypt
> -Original Message-
> From: Su, Simei
> Sent: Thursday, January 14, 2021 1:23 PM
> To: Zhang, Qi Z
> Cc: dev@dpdk.org; Guo, Junfeng ; Guo, Jia
> ; Cao, Yahui ; Su, Simei
>
> Subject: [PATCH] net/iavf: fix null pointer dereference
>
> A pointer has al
A pointer has already been dereferenced before checking if it is NULL.
It doesn't make any sense, so correct to avoid it.
Fixes: 4f3cfcbc3df3 ("net/iavf: support eCPRI msg type 0 for RSS")
Coverity issue: 365290
Signed-off-by: Simei Su
---
drivers/net/iavf/iavf_hash.c | 8 +---
1 file chang
5 matches
Mail list logo