You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(net): add packet polling to networking syscalls for first-call readiness
TCP listeners were not detecting pending connections on the first
poll/select/accept call because incoming SYN packets remained
unprocessed in the e1000 driver buffer. The fix ensures process_rx()
and drain_loopback_queue() are called at syscall entry.
Changes:
- Add process_rx() + drain_loopback_queue() to sys_poll, sys_select,
sys_accept, sys_recvfrom, and sys_read for TcpConnection
- Add first-call accept test (Test 25) without retry loop
- Add TCP listener poll test (Phase 8) verifying POLLIN on first call
- Add TCP listener select test (Phase 8) verifying readiness on first call
- Fix PTY master reference counting for fork/exec scenarios
- Add telnetd to ext2 filesystem and update run.sh for interactive mode
All 226 boot stages pass. Tests verify first-call success without
retry loops, ensuring the fix actually works rather than masking
timing issues.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
0 commit comments