]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Check the SDU size against the MTU value
authorGustavo F. Padovan <padovan@profusion.mobi>
Sat, 1 May 2010 19:15:40 +0000 (16:15 -0300)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 10 May 2010 07:28:49 +0000 (09:28 +0200)
commitc3a2e2e781763df8ae86ec0475d6e38f4785bebe
treee236a9c5b6559f31c69c9b5e6fa02dbd70294ad6
parent0f9e54a03e666900a222b686202cc30787836977
Bluetooth: Check the SDU size against the MTU value

If the SDU size is greater than the MTU something is wrong, so report
an error.

Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
[jprvita@profusion.mobi: set err to appropriate errno value]
Signed-off-by: João Paulo Rechi Vita <jprvita@profusion.mobi>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/l2cap.c