diff options
| author | Matt Carlson <[email protected]> | 2010-06-05 17:24:32 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2010-06-06 17:55:59 -0700 |
| commit | b28f6428af279ffb9e97ee00486a29498b7fcfdc (patch) | |
| tree | b411e94456bd6af04621648bb288b803915fc9b6 /tools/perf/scripts | |
| parent | b1d0521059789a138d19c4f940d6eca7d620a6eb (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')
0 files changed, 0 insertions, 0 deletions