Thread (10 messages) read the whole thread 10 messages, 4 authors, 2013-07-10
STALE4769d

[PATCH 1/2] Fix tty refcounting in rfcomm/tty.c

From: Gianluca Anzolin <hidden>
Date: 2013-07-09 17:05:02

In net/bluetooth/rfcomm/tty.c the struct tty is used without proper
refcounting. This leads to OOPS and panics triggered by the tty layer functions
which are invoked after the struct tty has already been destroyed.

This happens for example when the bluetooth connection is lost because the host
goes down unexpectedly.

The fix uses the tty_port_* helpers already in place.

This patch depends on patch "Fix refcount leak in tty_port.c" already sent to
linux-kernel. [0]

Signed-off-by: Gianluca Anzolin <redacted>

[0] http://lkml.indiana.edu/hypermail/linux/kernel/1307.1/00600.html

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help