linux/net/bluetooth
Marcel Holtmann 2b531294b0 Bluetooth: Simplify packet copy in hci_send_to_monitor function
Within the monitor functionality, the global atomic variable called
monitor_promisc ensures that no memory allocation happend when there
is actually no client listening. This means it is safe to just create
a copy of the skb since it is guaranteed that at least one client
exists. No extra checks needed.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2015-01-12 11:26:04 +02:00
..
bnep Bluetooth: bnep: bnep_add_connection() should verify that it's dealing with l2cap socket 2014-12-19 13:48:27 +01:00
cmtp Bluetooth: cmtp: cmtp_add_connection() should verify that it's dealing with l2cap socket 2014-12-19 13:48:21 +01:00
hidp Bluetooth: hidp_connection_add() unsafe use of l2cap_pi() 2014-12-19 13:40:07 +01:00
rfcomm Bluetooth: Add BUILD_BUG_ON for size of struct sockaddr_rc 2015-01-12 11:24:21 +02:00
6lowpan.c Bluetooth: 6lowpan: Do not free skb when packet is dropped 2014-12-19 13:39:50 +01:00
a2mp.c first fruits - kill l2cap ->memcpy_fromiovec() 2014-12-09 16:29:10 -05:00
a2mp.h Bluetooth: Move a2mp.h header file into net/bluetooth/ 2013-10-11 00:10:05 +02:00
af_bluetooth.c Bluetooth: Add support for self testing framework 2014-12-30 08:53:55 +02:00
amp.c Bluetooth: Fix sparse warning in amp.c 2014-11-11 00:07:29 +01:00
amp.h Bluetooth: Move amp.h header file into net/bluetooth/ 2013-10-11 00:10:03 +02:00
ecc.c Bluetooth: Add ECC library for LE Secure Connections 2014-12-03 16:51:16 +01:00
ecc.h Bluetooth: Add ECC library for LE Secure Connections 2014-12-03 16:51:16 +01:00
hci_conn.c Bluetooth: Add opcode parameter to hci_req_complete_t callback 2015-01-12 11:16:31 +02:00
hci_core.c Bluetooth: Add opcode parameter to hci_req_complete_t callback 2015-01-12 11:16:31 +02:00
hci_debugfs.c Bluetooth: Fix scope of sc_only_mode debugfs entry 2015-01-02 22:22:04 +01:00
hci_debugfs.h Bluetooth: Create debugfs directory for each connection handle 2014-12-20 19:54:24 +02:00
hci_event.c Merge branch 'for-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next 2015-01-02 15:58:21 -05:00
hci_request.c Bluetooth: Add opcode parameter to hci_req_complete_t callback 2015-01-12 11:16:31 +02:00
hci_request.h Bluetooth: Add hci_request support for hci_update_background_scan 2014-12-19 22:06:37 +01:00
hci_sock.c Bluetooth: Simplify packet copy in hci_send_to_monitor function 2015-01-12 11:26:04 +02:00
hci_sysfs.c Bluetooth: Convert to use ATTRIBUTE_GROUPS macro 2014-02-13 09:51:34 +02:00
Kconfig Bluetooth: Add skeleton for SMP self-tests 2014-12-30 08:54:33 +01:00
l2cap_core.c Bluetooth: Introduce force_bredr_smp debugfs option for testing 2015-01-02 22:22:03 +01:00
l2cap_sock.c Bluetooth: Add BUILD_BUG_ON for size of struct sockaddr_l2 2015-01-12 11:24:19 +02:00
lib.c Bluetooth: Convert bt_<level> logging functions to return void 2014-09-24 09:40:08 +02:00
Makefile Bluetooth: Add support for self testing framework 2014-12-30 08:53:55 +02:00
mgmt.c Bluetooth: Add opcode parameter to hci_req_complete_t callback 2015-01-12 11:16:31 +02:00
sco.c Bluetooth: Add BUILD_BUG_ON for size of struct sockaddr_sco 2015-01-12 11:24:24 +02:00
selftest.c Bluetooth: Add timing information to ECDH test case runs 2014-12-30 10:32:11 +02:00
selftest.h Bluetooth: Add support for self testing framework 2014-12-30 08:53:55 +02:00
smp.c Bluetooth: Fix for a leftover debug of pairing credentials 2015-01-02 22:22:04 +01:00
smp.h Bluetooth: Add skeleton for SMP self-tests 2014-12-30 08:54:33 +01:00