> From: Dan Carpenter [mailto:[email protected]]
> Sent: Saturday, January 11, 2014 1:59 AM
> To: Kirsher, Jeffrey T
> Cc: [email protected]; [email protected];
> Allan, Bruce W; Brandeburg, Jesse; Wei Yongjun; Ronciak, John
> Subject: [E1000-devel] [patch v2] i40e: potential array underflow in
> i40e_vc_process_vf_msg()
> 
> If "vf_id" is smaller than hw->func_caps.vf_base_id then it leads to an
> array underflow of the pf->vf[] array.  This is unlikely to happen unless
> the hardware is bad, but it's a small change and it silences a static
> checker warning.
> 
> Fixes: 7efa84b7abc1 ('i40e: support VFs on PFs other than 0')
> Signed-off-by: Dan Carpenter <[email protected]>
> ---
> v2: rebased.  commit message updated.
> 

Thanks Dan, I have applied it to Jeff's tree.  It still did not apply cleanly 
but I went ahead and spun a new patch with the change to get it into the queue. 
 Not sure what was going on, only visible difference I could see is the 
original tree seemed to contain:
---------------------------------------------------------
                           u32 v_retval, u8 *msg, u16 msglen)
{
---------------------------------------------------------
While the patch was looking for:
------------------------------------------------------------
                           u32 v_retval, u8 *msg, u16 msglen)  {
------------------------------------------------------------


------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
E1000-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel&#174; Ethernet, visit 
http://communities.intel.com/community/wired

Reply via email to