]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
Bluetooth: Wrong style spin lock used
authorJukka Rissanen <jukka.rissanen@linux.intel.com>
Wed, 29 Oct 2014 08:16:00 +0000 (10:16 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 29 Oct 2014 15:20:40 +0000 (16:20 +0100)
commit9cfd5a23a49c2a2cb9ff5537128d03547cbd2990
treed71ed5865005e07968443bff66c7bce894ad9f34
parente23e9ec16bf4bbaf12fc030079b277cb00f618f4
Bluetooth: Wrong style spin lock used

Use spin_lock_bh() as the code is called from softirq in networking subsystem.
This is needed to prevent deadlocks when 6lowpan link is in use.

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hci_core.c