summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/i40e/i40e_ptp.c
diff options
context:
space:
mode:
authorAnjali Singhai Jain <anjali.singhai@intel.com>2014-07-10 07:58:21 +0000
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2014-08-15 03:50:37 -0700
commit6e7b5bd32c7cd303eec4880149636ffbc2098df8 (patch)
tree083dfe2d28db64603459b3320e361363f8e74321 /drivers/net/ethernet/intel/i40e/i40e_ptp.c
parent478c9e74204f7bd5f97cca92e917749434ed6f92 (diff)
i40e: Fix a few potential VF dereferences
In some functions we might be doing potential dereference without a check. This patch puts the check in place for all these functions. Also fix the "for loops" so that we increment VF at the right place so that we always do it even if we are short-circuiting the loop through continue. Change-ID: Id4276cfb1e841031bb7b6d6790c414242f364a9f Signed-off-by: Anjali Singhai Jain <anjali.singhai@intel.com> Tested-by: Jim Young <jamesx.m.young@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/i40e/i40e_ptp.c')
0 files changed, 0 insertions, 0 deletions