Skip to content

Conversation

thhous-msft
Copy link
Contributor

@thhous-msft thhous-msft commented Nov 22, 2021

Closes #1757

Doing some digging, this assert is benign. The only datapath this assert actually existed in was windows user mode. In all other datapaths, an empty send would have just made it down to the kernel as an empty send, and done nothing.

The original thought for a fix was to avoid an empty send at the core level, but we hit so many edge cases trying to fix there its a risky change and likely to skip the empty send at the wrong spot. We can still investigate that later, but for now this is a much safer fix.

@thhous-msft thhous-msft requested a review from a team as a code owner November 22, 2021 16:17
@thhous-msft thhous-msft changed the title Don't assert on empty send in datapath, bail early if emtpy send occurs Don't assert on empty send in datapath Nov 22, 2021
@thhous-msft thhous-msft merged commit 84b7353 into main Nov 23, 2021
@thhous-msft thhous-msft deleted the thadhouse/datapathemptysend branch November 23, 2021 00:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Send path can result in empty send
2 participants