]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Bluetooth: Check MTU value in l2cap_sock_setsockopt_old
authorAndre Guedes <andre.guedes@openbossa.org>
Thu, 31 May 2012 20:01:34 +0000 (17:01 -0300)
committerJohan Hedberg <johan.hedberg@intel.com>
Tue, 5 Jun 2012 03:34:15 +0000 (06:34 +0300)
commit682877c31fc1b6510b694b6b8e78d8dde53a47cc
treef1b042c56fa7c6d61026fafa7d2f90478c26c910
parent6fcb06a28d150095f042c477fbe20a9767d9a951
Bluetooth: Check MTU value in l2cap_sock_setsockopt_old

If user tries to set an invalid MTU value, l2cap_sock_setsockopt_old
should return -EINVAL.

Signed-off-by: Andre Guedes <andre.guedes@openbossa.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/l2cap_sock.c