]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Check if SDU size is greater than MTU on L2CAP
authorGustavo F. Padovan <padovan@profusion.mobi>
Sat, 1 May 2010 19:15:37 +0000 (16:15 -0300)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 10 May 2010 07:28:47 +0000 (09:28 +0200)
commitcb98f8682dc704fe68d0257aea212a6b3fcfe359
tree39f854d840c8c450a51d03c32f04ac771671ecbe
parent8c9097cf8bfee8c1c8ee24a736f7845237a588a9
Bluetooth: Check if SDU size is greater than MTU on L2CAP

After reassembly the SDU we need to check his size. It can't overflow
the MTU size.

Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Reviewed-by: João Paulo Rechi Vita <jprvita@profusion.mobi>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/l2cap.c