[dpdk-dev] [PATCH v2] i40e: dereference before null check

Zhang, Helin helin.zhang at intel.com
Wed Apr 27 08:30:26 CEST 2016

> -----Original Message-----
> From: Mrzyglod, DanielX T
> Sent: Tuesday, April 19, 2016 1:13 AM
> To: Chen, Jing D; Wu, Jingjing; Zhang, Helin
> Cc: dev at dpdk.org; Mrzyglod, DanielX T
> Subject: [PATCH v2] i40e: dereference before null check
> Fix issue reported by Coverity.
> Coverity ID 13302:
> There may be a null pointer dereference, or else the comparison against null
> is unnecessary.
> In i40evf_config_vlan_pvid: All paths that lead to this null pointer comparison
> already dereference the pointer earlier
> Fixes: 2b12431b5369 ("i40e: add vlan stripping and insertion to VF")
> Signed-off-by: Daniel Mrzyglod <danielx.t.mrzyglod at intel.com>
Acked-by: Helin Zhang <helin.zhang at intel.com>

More information about the dev mailing list