Re: [PATCH 1/3] usbnet: fix leak of transfer buffer of dev->interrupt

2 messages, 2 authors, 2012-05-03 · open the first message on its own page

Re: [PATCH 1/3] usbnet: fix leak of transfer buffer of dev->interrupt

From: Oliver Neukum <hidden>
Date: 2012-04-30 08:58:14

Am Montag, 30. April 2012, 10:51:02 schrieb Ming Lei:
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 <redacted>
Acked-by: Oliver Neukum <redacted>
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Re: [PATCH 1/3] usbnet: fix leak of transfer buffer of dev->interrupt

From: David Miller <davem@davemloft.net>
Date: 2012-05-03 00:13:43

From: Oliver Neukum <redacted>
Date: Mon, 30 Apr 2012 10:58:14 +0200
Am Montag, 30. April 2012, 10:51:02 schrieb Ming Lei:
quoted
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 <redacted>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help