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

Fix Possible DISPATCH_SEND Inline Issue #4115

Merged
merged 3 commits into from
Feb 6, 2024
Merged

Conversation

nibanks
Copy link
Member

@nibanks nibanks commented Feb 6, 2024

Description

We've seen indication of a possible issue when sending at DISPATCH_LEVEL, so we're fixing the behavior to always queue in these cases (no inline execution).

Testing

Updated some tests to send at DISPATCH_LEVEL in kernel.

Documentation

N/A

@nibanks nibanks requested a review from a team as a code owner February 6, 2024 17:06
@nibanks nibanks added Bug: Core A code bug in the Core MsQuic code Area: Core Related to the shared, core protocol logic labels Feb 6, 2024
@nibanks nibanks enabled auto-merge (squash) February 6, 2024 17:33
src/core/api.c Outdated Show resolved Hide resolved
@csujedihy
Copy link
Contributor

We have the same inline execution for other APIs like StreamClose and ConnectionClose. Should we change them as well?

@nibanks
Copy link
Member Author

nibanks commented Feb 6, 2024

We have the same inline execution for other APIs like StreamClose and ConnectionClose. Should we change them as well?

No, because *Close functions are required to be called at PASSIVE_LEVEL.

csujedihy
csujedihy previously approved these changes Feb 6, 2024
@nibanks nibanks merged commit 5f38933 into main Feb 6, 2024
354 of 366 checks passed
@nibanks nibanks deleted the nibanks/dispatch-sends branch February 6, 2024 19:22
nibanks added a commit that referenced this pull request Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Core Related to the shared, core protocol logic Bug: Core A code bug in the Core MsQuic code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants