diff options
author | Johan Hovold <jhovold@gmail.com> | 2010-01-07 00:48:42 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-01-21 00:24:33 +0100 |
commit | 2591530204a76fecc843529ade56afe865dd2657 (patch) | |
tree | a7cf437c4bb34308e871fc62ae5a9b24f2a9854f /drivers/usb/storage | |
parent | USB: serial: fix USB serial fix kfifo_len locking (diff) | |
download | linux-2591530204a76fecc843529ade56afe865dd2657.tar.xz linux-2591530204a76fecc843529ade56afe865dd2657.zip |
usb: serial: fix memory leak in generic driver
Fix a regression introduced by commit
715b1dc01fe44537e8fce9566e4bb48d6821d84b ("USB: usb_debug,
usb_generic_serial: implement multi urb write").
URB transfer buffer was never freed when using multi-urb writes.
Currently the only driver enabling multi-urb writes is usb_debug.
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Cc: Greg KH <greg@kroah.com>
Acked-by: Jason Wessel <jason.wessel@windriver.com>
Cc: stable <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/storage')
0 files changed, 0 insertions, 0 deletions