[PATCH v1] net/iavf: fix taninted scalar

Zhang, Qi Z qi.z.zhang at intel.com
Thu Oct 13 05:23:22 CEST 2022



> -----Original Message-----
> From: Steve Yang <stevex.yang at intel.com>
> Sent: Tuesday, October 11, 2022 4:34 PM
> To: dev at dpdk.org
> Cc: Wu, Jingjing <jingjing.wu at intel.com>; Xing, Beilei
> <beilei.xing at intel.com>; Yang, SteveX <stevex.yang at intel.com>
> Subject: [PATCH v1] net/iavf: fix taninted scalar
> 
> Passing tainted expression "rss_meta->proto_hdrs.count" to
> "iavf_refine_proto_hdrs", wich uses it as a loop boundary.
> 
> Replace tainted expression with a temp variable to avoid the trainted scalar
> coverity warning.
> 
> Coverity issue: 381131
> Fixes: f30157d988cf ("net/iavf: support PPPoL2TPv2oUDP RSS Hash")
> 
> Signed-off-by: Steve Yang <stevex.yang at intel.com>

Acked-by: Qi Zhang <qi.z.zhang at intel.com>

Applied to dpdk-next-net-intel.

Thanks
Qi



More information about the dev mailing list