]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
Bluetooth: L2CAP: Fix checked range when allocating new CID
authorJohan Hedberg <johan.hedberg@intel.com>
Mon, 2 Nov 2015 12:39:16 +0000 (14:39 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 4 Nov 2015 06:21:02 +0000 (07:21 +0100)
commit0076e53f7f55a8f5c39db88250628bfc24375c77
treecb2b3d6bfe1e246fe9d2b269ed915bba5e5b4d7e
parent2f9c793bd2bcef037fd379820b1cd28ea5f9dd56
Bluetooth: L2CAP: Fix checked range when allocating new CID

The 'dyn_end' value is also a valid CID so it should be included in
the range of values checked.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/l2cap_core.c