Repository navigation
sys_net: fixes and improvements - #19170
Merged
Merged
Conversation
Megamouse
reviewed
Aug 8, 2026
RipleyTom
marked this pull request as draft
August 9, 2026 00:25
RipleyTom
force-pushed
the
sys_net_changes
branch
from
August 9, 2026 00:54
5c2272e to
ef5b001
Compare
Add thread lock for p2p sockets(used for poll/select to avoid event gap) Fix poll/select returning EINTR if no sockets were polled Implement sys_net_infoctl cmd 6(sys_net_get_sockinfo) Cleanup sys_net_infoctl cmd 9 code Add SYS_NET_STATE_* values to header Rewrite P2P and P2PS poll/select implementations Add extra P2PS state for disconnected and report it as readable with 0 bytes(EOF) Fix P2PS sockets connecting without being bound first missing hashmap insert Add missing error check in sceNpSignalingActivateConnection
Add parameter checks to sys_net_infoctl Fix P2P getpeername() fatal Fix possible deadlock in tcp_timeout_monitor Remove vport assert from poll Add upgrade path for new P2PS state in savestates Fix P2PS close_stream() not waking threads Fix possible deadlock in P2PS connect() Ensure RST is sent on unhandled packets
RipleyTom
force-pushed
the
sys_net_changes
branch
from
August 9, 2026 07:55
ef5b001 to
eda4982
Compare
RipleyTom
marked this pull request as ready for review
August 9, 2026 15:35
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add thread lock for p2p sockets(used for poll/select to avoid event gap)
Fix poll/select returning EINTR if no sockets were polled
Implement sys_net_infoctl cmd 6(sys_net_get_sockinfo)
Cleanup sys_net_infoctl cmd 9 code
Add SYS_NET_STATE_* values to header
Rewrite P2P and P2PS poll/select implementations
Add extra P2PS state for disconnected and report it as readable with 0 bytes(EOF)
Fix P2PS sockets connecting without being bound first missing hashmap insert
Add missing error check in sceNpSignalingActivateConnection
Add parameter checks to sys_net_infoctl
Fix P2P getpeername() fatal
Fix possible deadlock in tcp_timeout_monitor
Remove vport assert from poll
Add upgrade path for new P2PS state in savestates
Fix P2PS close_stream() not waking threads
Fix possible deadlock in P2PS connect()
Ensure RST is sent on unhandled packets
Fix possible event gap in recvfrom