Files
linux-legacy/drivers/net/usb
Kevin Cernekee 5661981522 kaweth: Fix memory leak in kaweth_control()
commit 051b982bcc620695de629d29c333c95b66e9b95e upstream.

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 <cernekee@gmail.com>
Acked-by: Oliver Neukum <oliver@neukum.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-10-05 09:31:58 -07:00
..
2009-07-16 18:06:25 -07:00
2009-06-30 19:46:43 -07:00
2009-06-30 19:46:43 -07:00
2009-07-12 14:20:04 -07:00
2009-08-14 16:41:17 -07:00
2009-05-01 15:27:02 -07:00
2009-06-30 19:46:48 -07:00