Hi Johan, > This patch adds a queue for incoming L2CAP data that's received before > l2cap_connect_cfm is called and processes the data once > l2cap_connect_cfm is called. This way we ensure that we have e.g. all > remote features before processing L2CAP signaling data (which is very > important for making the correct security decisions). > > The processing of the pending rx data needs to be done through > queue_work since unlike l2cap_recv_acldata, l2cap_connect_cfm is called > with the hci_dev lock held which could cause potential deadlocks. > > Signed-off-by: Johan Hedberg <johan.hedberg@xxxxxxxxx> > --- > include/net/bluetooth/l2cap.h | 3 +++ > net/bluetooth/l2cap_core.c | 27 +++++++++++++++++++++++++++ > 2 files changed, 30 insertions(+) both patches have been applied to bluetooth-next tree. Regards Marcel -- 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