]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Allocate struct inquiry_entry with GFP_KERNEL
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 13 Jul 2014 15:22:25 +0000 (17:22 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Sun, 13 Jul 2014 18:39:34 +0000 (21:39 +0300)
commit0e3892da763c293cb81cd15e21e3040750001340
treedff0a21f5dad4410a01babe4805efc22b0651090
parent15191e3cf7e27cfd0d2357b87458dd08b91c4b19
Bluetooth: Allocate struct inquiry_entry with GFP_KERNEL

The allocation of inquiry cache entries is triggered as a result of
processing HCI events. Since the processing is done in the context
of a workqueue, there is no needed to allocate with GFP_ATOMIC in
that case. Switch it to GFP_KERNEL.

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