RE: [PATCH v2] net/iavf: fix null pointer dereference

2022-02-08 Thread Zhang, Qi Z
> -Original Message- > From: Weiguo Li > Sent: Friday, January 28, 2022 5:43 PM > To: Wu, Jingjing > Cc: Nicolau, Radu ; dev@dpdk.org > Subject: [PATCH v2] net/iavf: fix null pointer dereference > > Check for memory allocation failure is added to avoid nu

[PATCH v2] net/iavf: fix null pointer dereference

2022-01-28 Thread Weiguo Li
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 --- v2: * Update to keep coding style consistent --- drivers/net/iavf/iavf_ipsec_crypto.c | 2 ++ 1 file