linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Mikhail Gavrilov <mikhail.v.gavrilov@gmail.com>
To: linux-bluetooth@vger.kernel.org, linux-mm@kvack.org
Subject: BUG: sleeping function called from invalid context at net/core/sock.c:2768
Date: Wed, 28 Mar 2018 08:24:26 +0500	[thread overview]
Message-ID: <CABXGCsOtMbRwZcyBRXWq+a2j4K7Q=JMPEC=xikrFCSqUypJyxA@mail.gmail.com> (raw)

$ uname -r
4.16.0-rc7

[85044.650045] Bluetooth: hci0: last event is not cmd complete (0x0f)
[85057.544598] usb 1-9.2: USB disconnect, device number 12
[85060.640035] Bluetooth: hci0: last event is not cmd complete (0x0f)
[85065.025725] BUG: sleeping function called from invalid context at
net/core/sock.c:2768
[85065.025729] in_atomic(): 1, irqs_disabled(): 0, pid: 2084, name: krfcommd
[85065.025730] INFO: lockdep is turned off.
[85065.025733] CPU: 6 PID: 2084 Comm: krfcommd Not tainted 4.16.0-rc7 #1
[85065.025735] Hardware name: Gigabyte Technology Co., Ltd.
Z87M-D3H/Z87M-D3H, BIOS F11 08/12/2014
[85065.025736] Call Trace:
[85065.025743]  dump_stack+0x85/0xbf
[85065.025747]  ___might_sleep+0x15b/0x240
[85065.025751]  lock_sock_nested+0x29/0xa0
[85065.025764]  bt_accept_enqueue+0x3c/0xb0 [bluetooth]
[85065.025770]  rfcomm_connect_ind+0x227/0x250 [rfcomm]
[85065.025774]  rfcomm_run+0x155a/0x1860 [rfcomm]
[85065.025778]  ? do_wait_intr_irq+0xb0/0xb0
[85065.025783]  ? rfcomm_check_accept+0xa0/0xa0 [rfcomm]
[85065.025786]  kthread+0x121/0x140
[85065.025789]  ? kthread_create_worker_on_cpu+0x70/0x70
[85065.025792]  ret_from_fork+0x3a/0x50
[85069.642058] Bluetooth: hci0: last event is not cmd complete (0x0f)



--
Best Regards,
Mike Gavrilov.

                 reply	other threads:[~2018-03-28  3:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CABXGCsOtMbRwZcyBRXWq+a2j4K7Q=JMPEC=xikrFCSqUypJyxA@mail.gmail.com' \
    --to=mikhail.v.gavrilov@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox