Re: [PATCH] net/gve: fix pointers dereference before null check

2022-10-31 Thread Ferruh Yigit
On 10/31/2022 5:05 AM, Junfeng Guo wrote: The pointers 'rxq' and 'txq' are dereferenced before the null check. Fixed the logic in this patch. Fixes: 4bec2d0b5572 ("net/gve: support queue operations") Signed-off-by: Junfeng Guo Reviewed-by: Ferruh Yigit Applied to dpdk-next-net/main, than

[PATCH] net/gve: fix pointers dereference before null check

2022-10-30 Thread Junfeng Guo
The pointers 'rxq' and 'txq' are dereferenced before the null check. Fixed the logic in this patch. Fixes: 4bec2d0b5572 ("net/gve: support queue operations") Signed-off-by: Junfeng Guo --- drivers/net/gve/gve_rx.c | 3 ++- drivers/net/gve/gve_tx.c | 3 ++- 2 files changed, 4 insertions(+), 2 de