Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 144416 Details for
Bug 211179
rfcomm suspend oops fixup
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
rfcomm-suspend.patch
rfcomm-suspend.patch (text/plain), 7.84 KB, created by
Alon Bar-Lev (RETIRED)
on 2008-02-23 16:10:45 UTC
(
hide
)
Description:
rfcomm-suspend.patch
Filename:
MIME Type:
Creator:
Alon Bar-Lev (RETIRED)
Created:
2008-02-23 16:10:45 UTC
Size:
7.84 KB
patch
obsolete
> >Delivered-To: alon.barlev@gmail.com >Received: by 10.67.117.17 with SMTP id u17cs219697ugm; > Wed, 20 Feb 2008 05:25:37 -0800 (PST) >Received: by 10.114.154.1 with SMTP id b1mr8830921wae.118.1203513935553; > Wed, 20 Feb 2008 05:25:35 -0800 (PST) >Return-Path: <akpm@linux-foundation.org> >Received: from smtp2.linux-foundation.org (smtp2.linux-foundation.org [207.189.120.14]) > by mx.google.com with ESMTP id j34si9485138waf.29.2008.02.20.05.25.34; > Wed, 20 Feb 2008 05:25:35 -0800 (PST) >Received-SPF: pass (google.com: domain of akpm@linux-foundation.org designates 207.189.120.14 as permitted sender) client-ip=207.189.120.14; >Authentication-Results: mx.google.com; spf=pass (google.com: domain of akpm@linux-foundation.org designates 207.189.120.14 as permitted sender) smtp.mail=akpm@linux-foundation.org >Received: from imap1.linux-foundation.org (imap1.linux-foundation.org [207.189.120.55]) > by smtp2.linux-foundation.org (8.13.5.20060308/8.13.5/Debian-3ubuntu1.1) with ESMTP id m1KDOlu6030159 > (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); > Wed, 20 Feb 2008 05:24:48 -0800 >Received: from localhost.localdomain (localhost [127.0.0.1]) > by imap1.linux-foundation.org (8.13.5.20060308/8.13.5/Debian-3ubuntu1.1) with ESMTP id m1KDOg5J002392; > Wed, 20 Feb 2008 05:24:43 -0800 >Message-Id: <200802201324.m1KDOg5J002392@imap1.linux-foundation.org> >Subject: + bluetooth-hci_core-defer-hci_unregister_sysfs.patch added to -mm tree >To: mm-commits@vger.kernel.org >Cc: hidave.darkstar@gmail.com, alon.barlev@gmail.com, davem@davemloft.net, > marcel@holtmann.org, seife@suse.de >From: akpm@linux-foundation.org >Date: Wed, 20 Feb 2008 05:23:45 -0800 >X-Spam-Status: No, hits=-0.18 required=5 tests=AWL,BAYES_00,J_CHICKENPOX_23,NO_REAL_NAME,SARE_BAYES_5x8,SARE_BAYES_6x8,SARE_BAYES_7x8,TW_CF,TW_II,TW_JB,TW_LH,TW_PK,TW_SN,TW_UH >X-Spam-Checker-Version: SpamAssassin 3.1.0-osdl_revision__1.47__ >X-MIMEDefang-Filter: lf$Revision: 1.188 $ >X-Scanned-By: MIMEDefang 2.53 on 207.189.120.14 > > >The patch titled > bluetooth: hci_core: defer hci_unregister_sysfs() >has been added to the -mm tree. Its filename is > bluetooth-hci_core-defer-hci_unregister_sysfs.patch > >Before you just go and hit "reply", please: > a) Consider who else should be cc'ed > b) Prefer to cc a suitable mailing list as well > c) Ideally: find the original patch on the mailing list and do a > reply-to-all to that, adding suitable additional cc's > >*** Remember to use Documentation/SubmitChecklist when testing your code *** > >See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find >out what to do about this > >The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ > >------------------------------------------------------ >Subject: bluetooth: hci_core: defer hci_unregister_sysfs() >From: Dave Young <hidave.darkstar@gmail.com> > >Alon Bar-Lev reports: > >> Feb 16 23:41:33 alon1 usb 3-1: configuration #1 chosen from 1 choice >Feb 16 23:41:33 alon1 BUG: unable to handle kernel NULL pointer dereference at virtual address 00000008 >Feb 16 23:41:33 alon1 printing eip: c01b2db6 *pde = 00000000 >Feb 16 23:41:33 alon1 Oops: 0000 [#1] PREEMPT >Feb 16 23:41:33 alon1 Modules linked in: ppp_deflate zlib_deflate zlib_inflate bsd_comp ppp_async rfcomm l2cap hci_usb vmnet(P) vmmon(P) tun radeon drm autofs4 ipv6 aes_generic crypto_algapi ieee80211_crypt_ccmp nf_nat_irc nf_nat_ftp nf_conntrack_irc nf_conntrack_ftp ipt_MASQUERADE iptable_nat nf_nat ipt_REJECT xt_tcpudp ipt_LOG xt_limit xt_state nf_conntrack_ipv4 nf_conntrack iptable_filter ip_tables x_tables snd_pcm_oss snd_mixer_oss snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device bluetooth ppp_generic slhc ioatdma dca cfq_iosched cpufreq_powersave cpufreq_ondemand cpufreq_conservative acpi_cpufreq freq_table uinput fan af_packet nls_cp1255 nls_iso8859_1 nls_utf8 nls_base pcmcia snd_intel8x0 snd_ac97_codec ac97_bus snd_pcm nsc_ircc snd_timer ipw2200 thinkpad_acpi irda snd ehci_hcd yenta_socket uhci_hcd psmouse ieee80211 soundcore intel_agp hwmon rsrc_nonstatic pcspkr e1000 crc_ccitt snd_page_alloc i2c_i801 ieee80211_crypt pcmcia_core agpgart thermal bat! > tery nvram rtc sr_mod ac sg firmware_class button processor cdrom unix usbcore evdev ext3 jbd ext2 mbcache loop ata_piix libata sd_mod scsi_mod >Feb 16 23:41:33 alon1 >Feb 16 23:41:33 alon1 Pid: 4, comm: events/0 Tainted: P (2.6.24-gentoo-r2 #1) >Feb 16 23:41:33 alon1 EIP: 0060:[<c01b2db6>] EFLAGS: 00010282 CPU: 0 >Feb 16 23:41:33 alon1 EIP is at sysfs_get_dentry+0x26/0x80 >Feb 16 23:41:33 alon1 EAX: 00000000 EBX: 00000000 ECX: 00000000 EDX: f48a2210 >Feb 16 23:41:33 alon1 ESI: f72eb900 EDI: f4803ae0 EBP: f4803ae0 ESP: f7c49efc >Feb 16 23:41:33 alon1 hcid[7004]: HCI dev 0 registered >Feb 16 23:41:33 alon1 DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068 >Feb 16 23:41:33 alon1 Process events/0 (pid: 4, ti=f7c48000 task=f7c3efc0 task.ti=f7c48000) >Feb 16 23:41:33 alon1 Stack: f7cb6140 f4822668 f7e71e10 c01b304d ffffffff ffffffff fffffffe c030ba9c >Feb 16 23:41:33 alon1 f7cb6140 f4822668 f6da6720 f7cb6140 f4822668 f6da6720 c030ba8e c01ce20b >Feb 16 23:41:33 alon1 f6e9dd00 c030ba8e f6da6720 f6e9dd00 f6e9dd00 00000000 f4822600 00000000 >Feb 16 23:41:33 alon1 Call Trace: >Feb 16 23:41:33 alon1 [<c01b304d>] sysfs_move_dir+0x3d/0x1f0 >Feb 16 23:41:33 alon1 [<c01ce20b>] kobject_move+0x9b/0x120 >Feb 16 23:41:33 alon1 [<c0241711>] device_move+0x51/0x110 >Feb 16 23:41:33 alon1 [<f9aaed80>] del_conn+0x0/0x70 [bluetooth] >Feb 16 23:41:33 alon1 [<f9aaed99>] del_conn+0x19/0x70 [bluetooth] >Feb 16 23:41:33 alon1 [<c012c1a1>] run_workqueue+0x81/0x140 >Feb 16 23:41:33 alon1 [<c02c0c88>] schedule+0x168/0x2e0 >Feb 16 23:41:33 alon1 [<c012fc70>] autoremove_wake_function+0x0/0x50 >Feb 16 23:41:33 alon1 [<c012c9cb>] worker_thread+0x9b/0xf0 >Feb 16 23:41:33 alon1 [<c012fc70>] autoremove_wake_function+0x0/0x50 >Feb 16 23:41:33 alon1 [<c012c930>] worker_thread+0x0/0xf0 >Feb 16 23:41:33 alon1 [<c012f962>] kthread+0x42/0x70 >Feb 16 23:41:33 alon1 [<c012f920>] kthread+0x0/0x70 >Feb 16 23:41:33 alon1 [<c0104c2f>] kernel_thread_helper+0x7/0x18 >Feb 16 23:41:33 alon1 ======================= >Feb 16 23:41:33 alon1 Code: 26 00 00 00 00 57 89 c7 a1 50 1b 3a c0 56 53 8b 70 38 85 f6 74 08 8b 0e 85 c9 74 58 ff 06 8b 56 50 39 fa 74 47 89 fb eb 02 89 c3 <8b> 43 08 39 c2 75 f7 8b 46 08 83 c0 68 e8 98 e7 10 00 8b 43 10 >Feb 16 23:41:33 alon1 EIP: [<c01b2db6>] sysfs_get_dentry+0x26/0x80 SS:ESP 0068:f7c49efc >Feb 16 23:41:33 alon1 ---[ end trace aae864e9592acc1d ]--- > >Defer hci_unregister_sysfs because hci device could be destructed >while hci conn devices still there. > >Signed-off-by: Dave Young <hidave.darkstar@gmail.com> >Tested-by: Stefan Seyfried <seife@suse.de> >Cc: Alon Bar-Lev <alon.barlev@gmail.com> >Cc: Marcel Holtmann <marcel@holtmann.org> >Cc: "David S. Miller" <davem@davemloft.net> >Signed-off-by: Andrew Morton <akpm@linux-foundation.org> >--- > > net/bluetooth/hci_core.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff -puN net/bluetooth/hci_core.c~bluetooth-hci_core-defer-hci_unregister_sysfs net/bluetooth/hci_core.c >--- a/net/bluetooth/hci_core.c~bluetooth-hci_core-defer-hci_unregister_sysfs >+++ a/net/bluetooth/hci_core.c >@@ -901,8 +901,6 @@ int hci_unregister_dev(struct hci_dev *h > > BT_DBG("%p name %s type %d", hdev, hdev->name, hdev->type); > >- hci_unregister_sysfs(hdev); >- > write_lock_bh(&hci_dev_list_lock); > list_del(&hdev->list); > write_unlock_bh(&hci_dev_list_lock); >@@ -914,6 +912,8 @@ int hci_unregister_dev(struct hci_dev *h > > hci_notify(hdev, HCI_DEV_UNREG); > >+ hci_unregister_sysfs(hdev); >+ > __hci_dev_put(hdev); > > return 0; >_ > >Patches currently in -mm which might be from hidave.darkstar@gmail.com are > >bluetooth-hci_core-defer-hci_unregister_sysfs.patch >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 211179
: 144416