From: Mikko Rapeli Date: Wed, 11 Jul 2007 07:18:15 +0000 (+0200) Subject: [Bluetooth] Hangup TTY before releasing rfcomm_dev X-Git-Tag: v2.6.23-rc1~1109^2~11^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84950cf0ba02fd6a5defe2511bc41f9aa2237632;p=pandora-kernel.git [Bluetooth] Hangup TTY before releasing rfcomm_dev The core problem is that RFCOMM socket layer ioctl can release rfcomm_dev struct while RFCOMM TTY layer is still actively using it. Calling tty_vhangup() is needed for a synchronous hangup before rfcomm_dev is freed. Addresses the oops at http://bugzilla.kernel.org/show_bug.cgi?id=7509 Acked-by: Alan Cox Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed