Skip to content

Fix L2CAP command reject PDUs

[email protected] linux-bluetooth 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Bluetooth: Fix L2CAP "Command Reject: Invalid CID" responsenet/bluetooth/l2cap_core.c+23 -152 replies
2/3Bluetooth: Remove unused command reject mapping for EMSGSIZEnet/bluetooth/l2cap_core.c+0 -20 replies
3/3Bluetooth: Remove useless l2cap_err_to_reason functionnet/bluetooth/l2cap_core.c+2 -120 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] Fix L2CAP command reject PDUs

Hi,

The L2CAP command reject PDU is required to have some extra data for "invalid MTU" and "invalid CID" cases. These patches fixes the code to always return the right kind of PDU.

Johan

----------------------------------------------------------------
Johan Hedberg (3):
Bluetooth: Fix L2CAP "Command Reject: Invalid CID" response
Bluetooth: Remove unused command reject mapping for EMSGSIZE
Bluetooth: Remove useless l2cap_err_to_reason function

 net/bluetooth/l2cap_core.c | 54 +++++++++++++++++++++------------------------
 1 file changed, 25 insertions(+), 29 deletions(-)