lkml.org 
[lkml]   [2013]   [Nov]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectOOPS: Bluetooth: Store RFCOMM address information in its own socket structure
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Bisected an OOPS to this commit:

commit 94a86df01082557e2de45865e538d7fb6c46231c
Author: Marcel Holtmann <marcel@holtmann.org>
Date: Sun Oct 13 10:34:02 2013 -0700

Bluetooth: Store RFCOMM address information in its own socket structure

The address information of RFCOMM sockets should be stored in its
own socket structure. Trying to generalize them is not helpful since
different transports have different address types.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>

OOPS looks like:

[ 16.636145] BUG: unable to handle kernel paging request at 000000268333770b
[ 16.637771] IP: [<ffffffffa01d7c78>] rfcomm_sock_getsockopt+0xe8/0x220 [rfcomm]
[ 16.639350] PGD 0
[ 16.640875] Oops: 0000 [#11] SMP
[ 16.642394] Modules linked in: snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_intel snd_hda_codec joydev snd_hwdep snd_pcm snd_page_alloc snd_seq_midi radeon snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device snd_timer snd soundcore ttm dm_multipath scsi_dh drm_kms_helper microcode(+) drm btusb i2c_algo_bit lpc_ich psmouse wmi serio_raw bnep rfcomm bluetooth binfmt_misc btrfs xor raid6_pq libcrc32c hid_generic hid_microsoft usbhid hid e1000e ahci libahci ptp pps_core
[ 16.645718] CPU: 1 PID: 968 Comm: bluetoothd Tainted: G D 3.12.0+ #74
[ 16.647369] Hardware name: System manufacturer System Product Name/P8P67 PRO REV 3.1, BIOS 1904 08/15/2011
[ 16.649030] task: ffff8801262d8000 ti: ffff8800c772c000 task.ti: ffff8800c772c000
[ 16.650693] RIP: 0010:[<ffffffffa01d7c78>] [<ffffffffa01d7c78>] rfcomm_sock_getsockopt+0xe8/0x220 [rfcomm]
[ 16.652372] RSP: 0018:ffff8800c772df08 EFLAGS: 00010246
[ 16.654118] RAX: 000000268333770b RBX: ffff8800c9156080 RCX: 00007fff67e9cd98
[ 16.655800] RDX: 0000000000000003 RSI: 0000000000000012 RDI: ffff8800c9156080
[ 16.657445] RBP: ffff8800c772df38 R08: 00007fff67e9cd9c R09: 00007fff67e9d018
[ 16.659055] R10: 00007fff67e9cd98 R11: 0000000000000202 R12: ffff880036dbd800
[ 16.660624] R13: 00007fff67e9cd98 R14: 0000000000000003 R15: 00007fff67e9cd9c
[ 16.662190] FS: 00007f1cfe1a1740(0000) GS:ffff88012f480000(0000) knlGS:0000000000000000
[ 16.663742] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 16.665284] CR2: 000000268333770b CR3: 00000000c746b000 CR4: 00000000000407e0
[ 16.666823] Stack:
[ 16.668353] 00038800c772df30 ffff8800c9156080 0000000000000012 0000000000000003
[ 16.669906] 00007fff67e9cd98 00007fff67e9cd9c ffff8800c772df78 ffffffff8155ff38
[ 16.671460] 0000000000000000 0000000000000001 00007fff67e9d018 0000000000000001
[ 16.673016] Call Trace:
[ 16.674562] [<ffffffff8155ff38>] SyS_getsockopt+0x68/0xd0
[ 16.676111] [<ffffffff81672356>] system_call_fastpath+0x1a/0x1f
[ 16.677651] Code: 00 4c 89 e7 e8 1a bf 38 e1 45 89 f1 48 83 c4 08 44 89 c8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 0f 1f 44 00 00 49 8b 84 24 e8 02 00 00 <48> 8b 18 4c 89 c0 e8 dd 91 14 e1 85 c0 49 89 d7 41 b9 f2 ff ff
[ 16.679393] RIP [<ffffffffa01d7c78>] rfcomm_sock_getsockopt+0xe8/0x220 [rfcomm]
[ 16.681022] RSP <ffff8800c772df08>
[ 16.682639] CR2: 000000268333770b
[ 16.684262] ---[ end trace a5f6978e71640635 ]---

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBCgAGBQJSjCplAAoJEJrBOlT6nu75RRQH/jTyamvlWeLBWMa4e97WiRWL
4oaWn0nU49CcU3RGP8B6lxb0NyqSVng48UT1gwcktDU5SXZs9aT92pU6HKSdCMsh
4qRjGLcLdAtr8b6sp9wf5nZlMZud7eJbr+Bs/O9zGACuvceXdXfJgub4tMm8go9E
VThfT5cECmNo8m/3m4wcWSxjOXdfkaEMqeeJFSQRBgOOwIYNvz8Cq4jKD17F0M3A
Kv1rtBS0706kI3FMOHyyrIeLxc6RDe7WojX1RJr3gIME5sOI7cF8J6b8YbK43uOI
qffp1Tgtq7ZU7eFmuTt7OeKj961pzGri1efeJxsf1cQn0iZXl+lhMQIGM/J3tg8=
=b2nC
-----END PGP SIGNATURE-----


\
 
 \ /
  Last update: 2013-11-20 05:01    [W:0.049 / U:0.364 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site