]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftest: net: add a test-case for encap segmentation after GRO
authorPaolo Abeni <pabeni@redhat.com>
Mon, 2 Feb 2026 11:43:15 +0000 (12:43 +0100)
committerJakub Kicinski <kuba@kernel.org>
Wed, 4 Feb 2026 03:23:41 +0000 (19:23 -0800)
commitbee60ce21b751275b3a7766f614373ef02dde512
tree65794d000100456958517a9ea4e579f3eeb10ef0
parent5c2c3c38be396257a6a2e55bd601a12bb9781507
selftest: net: add a test-case for encap segmentation after GRO

We had a few patches in this area and no explicit coverage so far.
The test case covers the scenario addressed by the previous fix;
reusing the existing udpgro_fwd.sh script to leverage part of the
of the virtual network setup, even if such script is possibly not
a perfect fit.

Note that the mentioned script already contains several shellcheck
violation; this patch does not fix the existing code, just avoids
adding more issues in the new one.

Reviewed-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Link: https://patch.msgid.link/768ca132af81e83856e34d3105b86c37e566a7ad.1770032084.git.pabeni@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/udpgro_fwd.sh