Skip to content

[net] Allow ktcp to send RST to reject connections w/o allocating memory - #2817

Merged
ghaerr merged 1 commit into
masterfrom
netfix5
Aug 13, 2026
Merged

[net] Allow ktcp to send RST to reject connections w/o allocating memory#2817
ghaerr merged 1 commit into
masterfrom
netfix5

Conversation

@ghaerr

@ghaerr ghaerr commented Aug 13, 2026

Copy link
Copy Markdown
Owner

Allows ktcp to reject incoming connections when heap is completely full. Previously, if ktcp ran out of memory, it couldn't even reject new connections because the allocation required for the RST packet would fail.

Idea and some code suggested in #2801. Tested on QEMU.

@ghaerr
ghaerr merged commit 684a564 into master Aug 13, 2026
1 check passed
@ghaerr
ghaerr deleted the netfix5 branch August 13, 2026 23:25
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.

1 participant