Skip to content

Optimize system TCP NAT checksum updates and timeout scans - #32

Merged
wwqgtxx merged 2 commits into
MetaCubeX:metafrom
chenx-dust:patch-2
Sep 19, 2026
Merged

wwqgtxx merged 2 commits into
MetaCubeX:metafrom
chenx-dust:patch-2

Conversation

@chenx-dust

Copy link
Copy Markdown

从 #23 中拆出两个独立的 System TCP NAT 优化:

  • NAT 重写地址和端口时使用增量方式更新 TCP/IP 校验和,避免重新计算整个 TCP payload。
  • 优化 TCP NAT 超时扫描,缩短独占锁持有时间,减少并发 lookup 时的锁竞争。

Upstream:
SagerNet@90628e0

chenx-dust and others added 2 commits September 19, 2026 12:57
Upstream-commit: SagerNet@90628e0
Co-authored-by: 世界 <i@sekai.icu>
Upstream-commit: SagerNet@90628e0
Co-authored-by: 世界 <i@sekai.icu>
@wwqgtxx
wwqgtxx merged commit af345a7 into MetaCubeX:meta Sep 19, 2026
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.

2 participants