Re: [PATCH 1/3] Bluetooth: Simplify packet copy in hci_send_to_monitor function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Marcel,

On Sun, Jan 11, 2015, Marcel Holtmann wrote:
> 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@xxxxxxxxxxxx>
> ---
>  net/bluetooth/hci_sock.c | 28 ++++++++++++----------------
>  1 file changed, 12 insertions(+), 16 deletions(-)

All three patches in this set have been applied to bluetooth-next.
Thanks.

Johan
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux