[Devel] [PATCH vz10 4/7] selftests: net: make the veth GRO checks independent of host tunnels

Vladimir Riabchun vladimir.riabchun at virtuozzo.com
Mon Sep 21 17:51:47 MSK 2026


On Tue, 01 Sep 2026 01:48:22 +0300, Eva Kurchatova <eva.kurchatova at virtuozzo.com> wrote:
> Three aggregation checks report 10 packets where they want 1 on a host
> that has a vxlan, and pass on a host that does not. The kernel is doing
> what it is written to do.
> 
> udp4_gro_receive() looks up the receiving socket only when
> udp_encap_needed_key is on, and that key is global: any UDP
> encapsulation socket on the machine, in any namespace, turns it on.
> udp_gro_receive() then aggregates for a packet that has no socket, or
> for a socket that asked for UDP GRO, and consults NETIF_F_GRO_UDP_FWD
> only in the first case. So with a vxlan somewhere on the box the lookup
> finds the test's own receiver, and rx-udp-gro-forwarding never gets a
> say.
> 
> [...]

Reviewed-by: Vladimir Riabchun <vladimir.riabchun at virtuozzo.com>

-- 
Vladimir Riabchun <vladimir.riabchun at virtuozzo.com>


More information about the Devel mailing list