diff options
author | Jesse Brandeburg <jesse.brandeburg@intel.com> | 2015-07-23 16:54:42 -0400 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2015-09-30 08:40:36 -0400 |
commit | e908f81562b1367ac3ab3d156db3dcbbe07479f6 (patch) | |
tree | f928733ef7cee9d0eaf3705725d89a56d201c051 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 7845548de7e4b49451f0eed77f690e579c428417 (diff) |
i40e: warn on double free
Down was requesting queue disables, but then exited immediately without
waiting for the queues to actually disable. This could allow any
function called after i40evf_down to run immediately, including
i40evf_up, and causes a memory leak.
This issue has been fixed in a recent refactor of the reset code, but
add a couple WARN_ONs in the slow path to help us recognize if we
reintroduce this issue or if we missed any cases.
Change-ID: I27b6b5c9a79c1892f0ba453129f116bc32647dd0
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions