]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[PATCH] fix memory leak in rocketport rp_do_receive
authorPaul Fulghum <paulkf@microgate.com>
Sun, 25 Jun 2006 12:49:12 +0000 (05:49 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 25 Jun 2006 17:01:22 +0000 (10:01 -0700)
commitcc44a817f65f9b4651643d334f6351b6d1f5e6c2
tree818ea9a738b72cfd11f97637312e743aa344e195
parent45c9b11a1d07770cabb48cb0f7960a77650ffc64
[PATCH] fix memory leak in rocketport rp_do_receive

Fix memory leak caused by incorrect use of tty buffer facility.  tty
buffers are allocated but never processed by call to tty_flip_buffer_push
so they accumulate on the full buffer list.  Current code uses the buffers
as a temporary storage for data before passing it directly to the line
discipline.

Signed-off-by: Paul Fulghum <paulkf@microgate.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/rocket.c