Re: [E1000-devel] [patch] i40e: potential array underflow in i40e_vc_process_vf_msg()

2014-01-10 Thread Williams, Mitch A
-Original Message- From: Dan Carpenter [mailto:dan.carpen...@oracle.com] Sent: Wednesday, January 08, 2014 9:31 PM To: Kirsher, Jeffrey T Cc: Brandeburg, Jesse; Allan, Bruce W; Wyborny, Carolyn; Skidmore, Donald C; Rose, Gregory V; Duyck, Alexander H; Ronciak, John; Williams, Mitch

Re: [E1000-devel] [patch] i40e: potential array underflow in i40e_vc_process_vf_msg()

2014-01-10 Thread Brown, Aaron F
-Original Message- From: Williams, Mitch A Sent: Friday, January 10, 2014 10:50 AM To: Dan Carpenter; Kirsher, Jeffrey T; Brown, Aaron F Cc: Brandeburg, Jesse; Allan, Bruce W; Wyborny, Carolyn; Skidmore, Donald C; Rose, Gregory V; Duyck, Alexander H; Ronciak, John; Nelson, Shannon;

[E1000-devel] [patch] i40e: potential array underflow in i40e_vc_process_vf_msg()

2014-01-08 Thread Dan Carpenter
If vf_id is smaller than hw-func_caps.vf_base_id then we leads to an array underflow of the pf-vf[] array. Fixes: 7efa84b7abc1 ('i40e: support VFs on PFs other than 0') Signed-off-by: Dan Carpenter dan.carpen...@oracle.com diff --git a/drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c