diff options
author | Alan Cox <alan@lxorguk.ukuu.org.uk> | 2009-04-14 14:58:11 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-14 08:48:50 -0700 |
commit | cf5450930db0ae308584e5361f3345e0ff73e643 (patch) | |
tree | 7e9b6229de416ae0ac651eb55fb6230e1ef80fc9 /drivers/parisc | |
parent | 7a9a65ced11ece416b730d6f21040a18e62d78a8 (diff) | |
download | op-kernel-dev-cf5450930db0ae308584e5361f3345e0ff73e643.zip op-kernel-dev-cf5450930db0ae308584e5361f3345e0ff73e643.tar.gz |
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>
Diffstat (limited to 'drivers/parisc')
0 files changed, 0 insertions, 0 deletions