numam-dpdk/drivers/net/enic
John Daley 3f326c460f net/enic: fix dereference before null check
This patch fixes an issue found by coverity. It checks for a possible
null value of "error" before dereferencing it.

CID: 375064: Dereference after null check
Either the check against null is unnecessary, or there may be a null
pointer dereference.

Coverity issue: 375064
Fixes: ee806eea59 ("net/enic: support GENEVE flow item")

Signed-off-by: John Daley <johndale@cisco.com>
Reviewed-by: Hyong Youb Kim <hyonkim@cisco.com>
2022-02-15 13:54:39 +01:00
..
base net/enic: support max descriptors allowed by adapter 2022-01-31 12:14:54 +01:00
enic_compat.h net/enic: move min/max macros 2020-01-17 19:46:26 +01:00
enic_ethdev.c ethdev: introduce generic dummy packet burst function 2022-02-11 21:17:34 +01:00
enic_flow.c fix spelling in comments and strings 2022-01-11 12:16:53 +01:00
enic_fm_flow.c net/enic: fix dereference before null check 2022-02-15 13:54:39 +01:00
enic_main.c ethdev: introduce generic dummy packet burst function 2022-02-11 21:17:34 +01:00
enic_res.c net/enic: support max descriptors allowed by adapter 2022-01-31 12:14:54 +01:00
enic_res.h net/enic: support max descriptors allowed by adapter 2022-01-31 12:14:54 +01:00
enic_rxtx_common.h mbuf: add namespace to offload flags 2021-10-24 13:37:43 +02:00
enic_rxtx_vec_avx2.c mbuf: add namespace to offload flags 2021-10-24 13:37:43 +02:00
enic_rxtx.c ethdev: introduce generic dummy packet burst function 2022-02-11 21:17:34 +01:00
enic_vf_representor.c drivers/net: remove queue xstats auto-fill flag 2021-10-15 00:17:44 +02:00
enic.h ethdev: introduce generic dummy packet burst function 2022-02-11 21:17:34 +01:00
meson.build drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
version.map version: 21.11-rc0 2021-08-17 08:37:52 +02:00