summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorZhao Li <enderaoelyther@gmail.com>2026-11-02 20:47:35 +0800
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2026-11-04 14:48:23 -0500
commit15a80cc8263abd50132a05d1b06824de8e28abcb (patch)
tree5b1dce7d7cb8eb867d21764f99bdc4aa32a52b2c /tools/perf/scripts/python/bin
parentf50b32aa233d4687af2d241ddcb572da969e8989 (diff)
Bluetooth: L2CAP: Clear request identifiers on incoming LE connections
Incoming LE and ECRED channels retain the peer's request identifier after an immediate response. The deferred LE response also leaves the identifier set, unlike the deferred ECRED response. A later ECRED request can reuse that identifier and include an unrelated channel in its shared-response handling. That walk matches on the identifier alone, so an LE channel is selected too. If the old channel is closing, the checks can refuse the new connection. The check at request receipt rejects it with L2CAP_CR_LE_INVALID_PARAMS; the check before a deferred response returns L2CAP_CR_LE_AUTHORIZATION. Store the identifier only when deferring the response, and clear it after sending the deferred LE response. Keep deferred ECRED identifiers until the shared response is sent, since a partially accepted group still needs them. AI assistance was used. Fixes: 27e2d4c8d28b ("Bluetooth: Add basic LE L2CAP connect request receiving support") Fixes: 15f02b910562 ("Bluetooth: L2CAP: Add initial code for Enhanced Credit Based Mode") Signed-off-by: Zhao Li <enderaoelyther@gmail.com> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions