022e74d62b
The gateway AF_PACKET read path used the standard 1514 byte Ethernet frame length as its receive buffer. VLAN-tagged or jumbo LAN frames could therefore be truncated before the bridge reached the encoded-datagram budget check, so logs and drop accounting saw a corrupted shorter frame. Use an overlay payload-sized capture buffer instead. This lets the Linux gateway observe the whole frame that the kernel reports, then leave the existing Ethernet parsing and negotiated QUIC datagram budget checks to decide whether the frame can cross the tunnel. The bridge still never fragments Ethernet frames. Document the behavior in the gateway README section and add a compile-time guard so the capture buffer stays above the standard Ethernet frame size. Test Plan: - cargo fmt --check - git diff --check - cargo test -p lanparty-gateway - cargo test --workspace - cargo clippy --workspace --all-targets -- -D warnings Refs: PLAN.md