Commit e1d9a66
Bluetooth: LE L2CAP: Disconnect if received packet's SDU exceeds IMTU
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 <[email protected]>
Signed-off-by: Luiz Augusto von Dentz <[email protected]>1 parent c38b8f5 commit e1d9a66
1 file changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6662 | 6662 | | |
6663 | 6663 | | |
6664 | 6664 | | |
6665 | | - | |
6666 | | - | |
| 6665 | + | |
| 6666 | + | |
| 6667 | + | |
| 6668 | + | |
6667 | 6669 | | |
6668 | 6670 | | |
6669 | 6671 | | |
| |||
6689 | 6691 | | |
6690 | 6692 | | |
6691 | 6693 | | |
6692 | | - | |
| 6694 | + | |
| 6695 | + | |
| 6696 | + | |
6693 | 6697 | | |
6694 | 6698 | | |
6695 | 6699 | | |
| |||
0 commit comments