aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorMatt Carlson <[email protected]>2010-06-05 17:24:32 +0000
committerDavid S. Miller <[email protected]>2010-06-06 17:55:59 -0700
commitb28f6428af279ffb9e97ee00486a29498b7fcfdc (patch)
treeb411e94456bd6af04621648bb288b803915fc9b6 /tools/perf/scripts/python/syscall-counts.py
parentb1d0521059789a138d19c4f940d6eca7d620a6eb (diff)
tg3: Fix a memory leak on 5717+ devices
The rx resources for MSI-X interrupt vector 0 were not being freed correctly. This happens because the teardown loop continue's to the next loop iteration if it detects the tx ring for that vector is not setup, thus bypassing the rx teardown code. This patch moves the call to tg3_rx_prodring_free() earlier in the loop. Signed-off-by: Matt Carlson <[email protected]> Signed-off-by: Michael Chan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions