This is the third and hopefully last set of fixes for v3.7 this time around.

Turns out that the three usb_wwan driver all allocated interface private data
in probe rather than attach, which is a bug as that memory will not be freed if
usb-serial probe fails (before the serial->attached flag is set).

These three patches depend on "[PATCH 18/21] USB: usb-wwan: fix multiple memory
leaks in error paths" in the first series of fixes:

        http://marc.info/?l=linux-usb&m=135115389307260&w=2

I did not tag that one nor these three with a stable tag as they fix problems
in error paths, but perhaps they should be applied to the stable trees as well.
Your decision, Greg.

Thanks,
Johan


Johan Hovold (3):
  USB: ipw: fix interface-data memory leak in error path
  USB: option: fix interface-data memory leak in error path
  USB: qcserial: fix interface-data memory leak in error path

 drivers/usb/serial/ipw.c      |  5 ++---
 drivers/usb/serial/option.c   | 21 +++++++++++++++++++--
 drivers/usb/serial/qcserial.c | 31 ++++++++++++++++---------------
 3 files changed, 37 insertions(+), 20 deletions(-)

-- 
1.7.12.4

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to