[dpdk-dev] [PATCH] i40e: fix the issue reported by klocwork

Thomas Monjalon thomas.monjalon at 6wind.com
Wed Apr 1 21:47:12 CEST 2015


> > Klocwork reports array 'src_offset' may use index 16.
> > In function i40e_srcoff_to_flx_pit, index j + 1 can reach
> > I40E_FDIR_MAX_FLEX_LEN.
> > This patch fixes this issue to avoid array bound.
> > 
> > Signed-off-by: Jingjing Wu <jingjing.wu at intel.com>
> Acked-by: Helin Zhang <helin.zhang at intel.com>

Fixes: d8b90c4eabe9 ("i40e: take flow director flexible payload configuration")

Applied, thanks


More information about the dev mailing list