Home
last modified time | relevance | path

Searched hist:"720 f3d7cb19eb27f85f72836c8f8004ccb257f39" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/usb/
H A Dusbnet.cdiff 720f3d7cb19eb27f85f72836c8f8004ccb257f39 Sun Apr 29 17:51:02 CDT 2012 tom.leiming@gmail.com <tom.leiming@gmail.com> usbnet: fix leak of transfer buffer of dev->interrupt

The transfer buffer of dev->interrupt is allocated in .probe path,
but not freed in .disconnet path, so mark the interrupt URB as
URB_FREE_BUFFER to free the buffer when the URB is destroyed.

Signed-off-by: Ming Lei <tom.leiming@gmail.com>
Acked-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>