Author: maks-guest Date: Tue Oct 17 12:00:07 2006 New Revision: 7621 Added: dists/trunk/linux-2.6/debian/patches/bugfix/bluetooth_rfcomm_oops.patch Modified: dists/trunk/linux-2.6/debian/changelog dists/trunk/linux-2.6/debian/patches/series/3
Log: bluetooth fix backport Modified: dists/trunk/linux-2.6/debian/changelog ============================================================================== --- dists/trunk/linux-2.6/debian/changelog (original) +++ dists/trunk/linux-2.6/debian/changelog Tue Oct 17 12:00:07 2006 @@ -107,6 +107,7 @@ * [powerpc] Fix uninitialised spinlock in via-pmu-backlight code. * Fix serial_cs resume handling. * Fix oops when removing suspended serial port. + * Check if DLC is still attached to the TTY. [ dann frazier ] * [ia64]: Fix booting on HP cell systems, thanks to Troy Heber @@ -126,7 +127,7 @@ [ Kyle McMartin ] * [hppa] Force CROSS_COMPILE=hppa64-linux-gnu- (closes: #389296) - -- maximilian attems <[EMAIL PROTECTED]> Tue, 17 Oct 2006 13:32:45 +0200 + -- maximilian attems <[EMAIL PROTECTED]> Tue, 17 Oct 2006 13:58:07 +0200 linux-2.6 (2.6.18-2) unstable; urgency=low Added: dists/trunk/linux-2.6/debian/patches/bugfix/bluetooth_rfcomm_oops.patch ============================================================================== --- (empty file) +++ dists/trunk/linux-2.6/debian/patches/bugfix/bluetooth_rfcomm_oops.patch Tue Oct 17 12:00:07 2006 @@ -0,0 +1,79 @@ +From [EMAIL PROTECTED] Mon Oct 16 19:21:26 2006 +Return-Path: <[EMAIL PROTECTED]> +Delivered-To: unknown +Received: from baikonur.stro.at (213.239.196.228) by nancy with IMAP4-SSL; 16 + Oct 2006 17:21:26 -0000 +X-Original-To: [EMAIL PROTECTED] +Delivered-To: [EMAIL PROTECTED] +Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) + by baikonur.stro.at (Postfix) with ESMTP id 944245C02E + for <[EMAIL PROTECTED]>; Mon, 16 Oct 2006 17:59:46 +0200 (CEST) +Received: ([EMAIL PROTECTED]) by vger.kernel.org via listexpand + id S1422683AbWJPP7i (ORCPT <rfc822;[EMAIL PROTECTED]>); + Mon, 16 Oct 2006 11:59:38 -0400 +Received: ([EMAIL PROTECTED]) by vger.kernel.org id S1422665AbWJPP7i + (ORCPT <rfc822;git-commits-head-outgoing>); + Mon, 16 Oct 2006 11:59:38 -0400 +Received: from hera.kernel.org ([140.211.167.34]:57264 "EHLO hera.kernel.org") + by vger.kernel.org with ESMTP id S1161043AbWJPP73 (ORCPT + <rfc822;[email protected]>); + Mon, 16 Oct 2006 11:59:29 -0400 +Received: from hera.kernel.org (IDENT:[EMAIL PROTECTED] [127.0.0.1]) + by hera.kernel.org (8.13.7/8.13.7) with ESMTP id k9GFxS54005250 + (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) + for <[email protected]>; Mon, 16 Oct 2006 15:59:28 GMT +Received: (from [EMAIL PROTECTED]) + by hera.kernel.org (8.13.7/8.13.1/Submit) id k9GFxSnJ005249 + for [email protected]; Mon, 16 Oct 2006 15:59:28 GMT +Date: Mon, 16 Oct 2006 15:59:28 GMT +Message-Id: <[EMAIL PROTECTED]> +From: Linux Kernel Mailing List <[email protected]> +To: [email protected] +Subject: [Bluetooth] Check if DLC is still attached to the TTY +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit +X-Git-Commit: cb19d9ea2ce2bcbe291d3d48e3501dc4f33ba627 +X-Git-Parent: b2cfcd75df77b80d9cc3fa84190a350dfa79eb93 +Sender: [EMAIL PROTECTED] +Precedence: bulk +X-Mailing-List: [email protected] +X-Virus-Scanned: by Amavis (ClamAV) at stro.at +Status: RO +Content-Length: 1230 + +commit cb19d9ea2ce2bcbe291d3d48e3501dc4f33ba627 +tree 7cd11f8151f7c8bbf04ca74b1d0faaad3e3fd91c +parent b2cfcd75df77b80d9cc3fa84190a350dfa79eb93 +author Marcel Holtmann <[EMAIL PROTECTED]> 1160926270 +0200 +committer David S. Miller <[EMAIL PROTECTED]> 1160979273 -0700 + +[Bluetooth] Check if DLC is still attached to the TTY + +If the DLC device is no longer attached to the TTY device, then it +makes no sense to go through with changing the termios settings. + +Signed-off-by: Marcel Holtmann <[EMAIL PROTECTED]> + + net/bluetooth/rfcomm/tty.c | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/net/bluetooth/rfcomm/tty.c b/net/bluetooth/rfcomm/tty.c +index 5833b87..b8e3a5f 100644 +--- a/net/bluetooth/rfcomm/tty.c ++++ b/net/bluetooth/rfcomm/tty.c +@@ -765,6 +765,9 @@ static void rfcomm_tty_set_termios(struc + + BT_DBG("tty %p termios %p", tty, old); + ++ if (!dev) ++ return; ++ + /* Handle turning off CRTSCTS */ + if ((old->c_cflag & CRTSCTS) && !(new->c_cflag & CRTSCTS)) + BT_DBG("Turning off CRTSCTS unsupported"); +- +To unsubscribe from this list: send the line "unsubscribe git-commits-head" in +the body of a message to [EMAIL PROTECTED] +More majordomo info at http://vger.kernel.org/majordomo-info.html + Modified: dists/trunk/linux-2.6/debian/patches/series/3 ============================================================================== --- dists/trunk/linux-2.6/debian/patches/series/3 (original) +++ dists/trunk/linux-2.6/debian/patches/series/3 Tue Oct 17 12:00:07 2006 @@ -25,3 +25,4 @@ + bugfix/via_pmu_backlight-fix_panic_sleep.patch + bugfix/serial_cs-resume.patch + bugfix/serial_core-suspend_oops.patch ++ bugfix/bluetooth_rfcomm_oops.patch _______________________________________________ Kernel-svn-changes mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/kernel-svn-changes

