aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/failed-syscalls-by-pid.py
diff options
context:
space:
mode:
authorKevin Cernekee <[email protected]>2009-09-19 11:18:21 +0000
committerDavid S. Miller <[email protected]>2009-09-22 14:00:07 -0700
commit051b982bcc620695de629d29c333c95b66e9b95e (patch)
tree907229a896c19440e0a046b54fd6823a75ccabee /tools/perf/scripts/python/failed-syscalls-by-pid.py
parent6f41d12bab6e5ce317b0494f5b3cd0b60e14ebc3 (diff)
kaweth: Fix memory leak in kaweth_control()
kaweth_control() never frees the buffer that it allocates for the USB control message. Test case: while :; do ifconfig eth2 down ; ifconfig eth2 up ; done This is a tiny buffer so it is a slow leak. If you want to speed up the process, you can change the allocation size to e.g. 16384 bytes, and it will consume several megabytes within a few minutes. Signed-off-by: Kevin Cernekee <[email protected]> Acked-by: Oliver Neukum <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions