]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Fix race condition with L2CAP information request
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 6 Feb 2009 22:35:19 +0000 (23:35 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 27 Feb 2009 05:14:41 +0000 (06:14 +0100)
commitdd50808dbe8220f8db1ed8368f835322922e9c08
treef85e4b260034f5b5a20af7a63900ee7de06fa7ad
parent610fe7eea9a6a2d4d9c163c0a836a3cf002dda87
Bluetooth: Fix race condition with L2CAP information request

When two L2CAP connections are requested quickly after the ACL link has
been established there exists a window for a race condition where a
connection request is sent before the information response has been
received. Any connection request should only be sent after an exchange
of the extended features mask has been finished.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/bluetooth/l2cap.h
net/bluetooth/l2cap.c