Commit b5c20c8
Bluetooth: LE L2CAP: Disconnect if received packet's SDU exceeds IMTU
[ Upstream commit e1d9a66 ]
Core 6.0, Vol 3, Part A, 3.4.3:
"If the SDU length field value exceeds the receiver's MTU, the receiver
shall disconnect the channel..."
This fixes L2CAP/LE/CFC/BV-26-C (running together with 'l2test -r -P
0x0027 -V le_public -I 100').
Fixes: aac23bf ("Bluetooth: Implement LE L2CAP reassembly")
Signed-off-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>1 parent d30acb4 commit b5c20c8
1 file changed
+7
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6610 | 6610 | | |
6611 | 6611 | | |
6612 | 6612 | | |
6613 | | - | |
6614 | | - | |
| 6613 | + | |
| 6614 | + | |
| 6615 | + | |
| 6616 | + | |
6615 | 6617 | | |
6616 | 6618 | | |
6617 | 6619 | | |
| |||
6637 | 6639 | | |
6638 | 6640 | | |
6639 | 6641 | | |
6640 | | - | |
| 6642 | + | |
| 6643 | + | |
| 6644 | + | |
6641 | 6645 | | |
6642 | 6646 | | |
6643 | 6647 | | |
| |||
0 commit comments