Re: [PATCH net] ipvlan: fix RX byte accounting for local traffic

From: Xia Yan

Date: Sun Oct 25 2026 - 01:21:43 EST


Hi,

> - How the issue was discovered

Found while comparing ipvlan's local forwarding and external receive
paths: skb->len still includes the Ethernet header on the local path,
but no longer does after eth_type_trans() on the external path. Both
the unicast and multicast RX accounting added ETH_HLEN without
distinguishing the two.

Confirmed with UDP traffic between ipvlan devices in separate network
namespaces: five IPv4 packets with 32-byte UDP payloads increased
rx_bytes by 440 bytes instead of 370.

Thanks,
Xia