aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorJacob Keller <jacob.e.keller@intel.com>2014-07-19 07:17:16 +0000
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2014-07-24 02:32:27 -0700
commit8818970d8d361e358dd61e5d5774e67794cde791 (patch)
treeeeb9e3d1e193e063c0f1f868e025b82651b21b20 /drivers/pci
parentixgbe: Change some uses of strncpy to strlcpy (diff)
downloadlinux-dev-8818970d8d361e358dd61e5d5774e67794cde791.tar.xz
linux-dev-8818970d8d361e358dd61e5d5774e67794cde791.zip
ixgbe: fix use of list_for_each in ixgbe_enumerate_functions
Fix a bug in the misuse of the list_for_each macro to loop over every entry in the bus_list. Instead of attempting to loop over the list from a random entry point, go up to the bus and use the real list_head entry point. This prevents the possible read or write of unallocated or incorrectly addressed memory. Signed-off-by: Jacob Keller <jacob.e.keller@intel.com> Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/pci')
0 files changed, 0 insertions, 0 deletions