Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rework L2CAP locking #1955

Open
sjanc opened this issue Jan 3, 2025 · 0 comments
Open

rework L2CAP locking #1955

sjanc opened this issue Jan 3, 2025 · 0 comments
Assignees
Labels

Comments

@sjanc
Copy link
Contributor

sjanc commented Jan 3, 2025

there are some locking issues in L2CAP code related to public functions being called from L2CAP internals, this leads to nested locks on HS lock (or awkward critical section breaking pattern with unlock(); foo(); lock() sequence)

In general we should have internal functions that assume lock is taken, and public API should be wrappers with lock on top of that.

@sjanc sjanc added the bug label Jan 3, 2025
@sjanc sjanc self-assigned this Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant