diff options
author | 2023-12-19 09:10:22 +0100 | |
---|---|---|
committer | 2023-12-22 12:59:46 -0500 | |
commit | 96a3398b467ab8aada3df2f3a79f4b7835d068b8 (patch) | |
tree | 185b5c756b0aae383ffa8b86cfd9c0423fdbea77 /tools/testing/selftests/bpf/progs/exceptions.c | |
parent | Bluetooth: hci_sync: fix BR/EDR wakeup bug (diff) | |
download | wireguard-linux-96a3398b467ab8aada3df2f3a79f4b7835d068b8.tar.xz wireguard-linux-96a3398b467ab8aada3df2f3a79f4b7835d068b8.zip |
Bluetooth: L2CAP: Fix possible multiple reject send
In case of an incomplete command or a command with a null identifier 2
reject packets will be sent, one with the identifier and one with 0.
Consuming the data of the command will prevent it.
This allows to send a reject packet for each corrupted command in a
multi-command packet.
Signed-off-by: Frédéric Danis <frederic.danis@collabora.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/exceptions.c')
0 files changed, 0 insertions, 0 deletions