Alan Cox cf5450930d tty: Fix leak in ti-usb
If the ti-usb adapter returns an zero data length frame (which happens)
then we leak a kref.  Found by Christoph Mair <christoph.mair@gmail.com>
who proposed a patch.  The patch here is different as Christoph's patch
didn't work for the case where tty = NULL and data arrived but Christoph
did all the hard work chasing it down.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-04-14 08:48:50 -07:00
..
2008-07-22 13:03:22 -07:00
2008-07-22 13:03:22 -07:00
2008-07-22 13:03:22 -07:00
2008-07-22 13:03:23 -07:00
2008-07-22 13:03:23 -07:00
2008-07-22 13:03:27 -07:00
2009-03-24 16:20:45 -07:00
2008-02-01 14:34:47 -08:00
2008-07-22 13:03:22 -07:00
2008-10-13 09:51:41 -07:00
2008-10-13 09:51:41 -07:00
2009-01-02 10:19:36 -08:00
2009-04-14 08:48:50 -07:00
2007-08-22 14:27:43 -07:00
2008-07-22 13:03:22 -07:00