diff options
| author | Jacob Keller <[email protected]> | 2014-07-19 07:17:16 +0000 |
|---|---|---|
| committer | Jeff Kirsher <[email protected]> | 2014-07-24 02:32:27 -0700 |
| commit | 8818970d8d361e358dd61e5d5774e67794cde791 (patch) | |
| tree | eeb9e3d1e193e063c0f1f868e025b82651b21b20 /tools/perf/scripts/python/bin | |
| parent | 339de30f5b40b08574a8ca53670d795f7dd1f8bb (diff) | |
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 <[email protected]>
Tested-by: Phil Schmitt <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions