1
linux/drivers/net/usb
Kevin Cernekee 051b982bcc 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 <cernekee@gmail.com>
Acked-by: Oliver Neukum <oliver@neukum.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-09-22 14:00:07 -07:00
..
asix.c netdev: drivers should make ethtool_ops const 2009-09-02 01:03:33 -07:00
catc.c netdev: drivers should make ethtool_ops const 2009-09-02 01:03:33 -07:00
cdc_eem.c cdc-eem: bad crc checking 2009-07-16 18:06:25 -07:00
cdc_ether.c cdc_ether: additional PID's to the whitelist 2009-06-19 00:19:51 -07:00
cdc_subset.c usbnet cdc_subset: fix issues talking to PXA gadgets 2009-06-20 01:21:53 -07:00
cdc-phonet.c cdc-phonet: remove noisy debug statement 2009-09-14 17:03:33 -07:00
dm9601.c netdev: drivers should make ethtool_ops const 2009-09-02 01:03:33 -07:00
gl620a.c
hso.c net: Add DEVTYPE support for Ethernet based devices 2009-09-11 12:54:55 -07:00
int51x1.c
kaweth.c kaweth: Fix memory leak in kaweth_control() 2009-09-22 14:00:07 -07:00
Kconfig USB host CDC Phonet network interface driver 2009-07-21 12:40:39 -07:00
Makefile USB host CDC Phonet network interface driver 2009-07-21 12:40:39 -07:00
mcs7830.c netdev: drivers should make ethtool_ops const 2009-09-02 01:03:33 -07:00
net1080.c net1080: Use netdev stats structure 2009-06-30 19:46:43 -07:00
pegasus.c netdev: drivers should make ethtool_ops const 2009-09-02 01:03:33 -07:00
pegasus.h pegasus: Add new device ID. 2009-08-14 16:41:17 -07:00
plusb.c
rndis_host.c rndis_host: allow rndis_wlan to see all indications 2009-08-04 16:44:17 -04:00
rtl8150.c netdev: drivers should make ethtool_ops const 2009-09-02 01:03:33 -07:00
smsc95xx.c smsc95xx: add additional USB product IDs 2009-09-22 14:00:06 -07:00
smsc95xx.h
usbnet.c netdev: drivers should make ethtool_ops const 2009-09-02 01:03:33 -07:00
zaurus.c