logo       

tty_flip.h needs mention of need for tty_flip_buffer_push call .. .: msg#00023

linux.serial

Subject: tty_flip.h needs mention of need for tty_flip_buffer_push call .. .

to free memory allocated. If the function is not called in place of
ld->receive_buf(tty, chead, fhead, count). ld->receive_buf call doesn't
deallocate the memory.

Also Note:

Our tests show the memory leak fix posted by Paul Fulghum at
http://lkml.org/lkml/2006/6/10/132 experiences data errors. They
also show that if the first implementation is simply modified to have
tty_flip_buffer_push called instead of ld->receive_buf you will
have a working driver.
-
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise