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

From: Eric Dumazet

Date: Sun Oct 25 2026 - 06:55:00 EST


Le dim. 25 oct. 2026 à 06:21, Xia Yan <yanxia@xxxxxxxxxxxxxxxxxxxx> a écrit :
>
> 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.

This is probably not a net candidate. No need for CC: stable

Also macvlan has the same issue, maybe wait for net-next reopening to
send a series fixing both ?