]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
Bluetooth: L2CAP: CoC: Disconnect if received packet size exceeds MPS
authorChristian Eggers <ceggers@arri.de>
Wed, 25 Feb 2026 17:07:26 +0000 (18:07 +0100)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 10 Apr 2026 14:26:48 +0000 (10:26 -0400)
commit728a3d128325bad286b1e4f191026e8de8d12a85
tree7a8b91143513133c69a3449d4eb7a6f9d4076132
parent7f2c3c49ba0d3fead557a8026a021ebe23f919d6
Bluetooth: L2CAP: CoC: Disconnect if received packet size exceeds MPS

Core 6.0, Vol 3, Part A, 3.4.3:
"... If the payload size of any K-frame exceeds the receiver's MPS, the
receiver shall disconnect the channel..."

This fixes L2CAP/LE/CFC/BV-27-C (running together with 'l2test -r -P
0x0027 -V le_public -I 100').

Signed-off-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Tested-by: Christian Eggers <ceggers@arri.de>
net/bluetooth/l2cap_core.c