mirror of
https://github.com/eycorsican/leaf.git
synced 2026-12-06 16:01:29 +00:00
build(deps): update netstack-lwip to 4943435
Thirty-five commits since the pinned 4cc3162, and the reason to take them is that most are corrections to the lwIP binding rather than features. Among them: a use-after-free in `UdpSocket::split`, a data race and aliasing UB on the output path, a UDP callback that shared context unsafely, `sys_now` arithmetic widened to 64 bits so it no longer overflows on 32-bit targets, pcbs no longer touched after lwIP has freed them or parked them in TIME_WAIT, and a timer task that is now aborted when the stack is dropped instead of outliving it. The rest is capacity and backpressure work that shows up under connection churn: pools sized for the connection counts each platform is expected to reach, a shorter TCP_MSL to cut TIME_WAIT pressure, a smaller window on iOS to cap per-connection buffering, and `poll_flush`/`poll_write` parking on transient ERR_MEM rather than failing the connection. The bindings are now generated at build time for the exact target rather than checked in, so their layouts always match what is being compiled against. That needs libclang, which leaf already requires: bindgen is an unconditional build dependency of the crate. `inbound-tun` is in the default feature set, so this is on the ordinary build path rather than an opt-in one.
This commit is contained in:
1 parent
c4571a4758
commit
ff6ffcd489
1 file changed
+1
-1
+1
-1
@@ -271,7 +271,7 @@ notify = { version = "6", optional = true }
|
||||
|
||||
# TUN
|
||||
tun = { version = "0.7", features = ["async"], optional = true }
|
||||
netstack-lwip = { git = "https://github.com/eycorsican/netstack-lwip", rev = "4cc3162", optional = true }
|
||||
netstack-lwip = { git = "https://github.com/eycorsican/netstack-lwip", rev = "4943435", optional = true }
|
||||
netstack-smoltcp = { git = "https://github.com/eycorsican/netstack-smoltcp", branch = "pr-16-initialize-unfilled", optional = true }
|
||||
|
||||
[target.'cfg(target_os = "windows")'.dependencies]
|
||||
|
||||
Reference in new issue
Block a user