The patch titled usbserial: Reference leak has been added to the -mm tree. Its filename is usbserial-reference-leak.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: usbserial: Reference leak From: Matthias Urlichs <smurf@xxxxxxxxxxxxxx> A sufficiently-large number of USB serial devices causes a reference leak when /proc/tty/drivers/usbserial is read. Signed-off-by: Matthias Urlichs <smurf@xxxxxxxxxxxxxx> Cc: Greg KH <greg@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- drivers/usb/serial/usb-serial.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletion(-) diff -puN drivers/usb/serial/usb-serial.c~usbserial-reference-leak drivers/usb/serial/usb-serial.c --- a/drivers/usb/serial/usb-serial.c~usbserial-reference-leak +++ a/drivers/usb/serial/usb-serial.c @@ -464,8 +464,10 @@ static int serial_read_proc (char *page, length += sprintf (page+length, " path:%s", tmp); length += sprintf (page+length, "\n"); - if ((length + begin) > (off + count)) + if ((length + begin) > (off + count)) { + usb_serial_put(serial); goto done; + } if ((length + begin) < off) { begin += length; length = 0; _ Patches currently in -mm which might be from smurf@xxxxxxxxxxxxxx are usbserial-reference-leak.patch remove-unused-tty_struct-variable.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html