diff options
| author | Alice Mikityanska <alice@isovalent.com> | 2026-09-01 22:57:13 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-09-07 17:13:55 -0700 |
| commit | 18a9a4342136c5ae954b37d961c374d369615de2 (patch) | |
| tree | 126568ecbd2d4419b9155825341dff7a502b18f1 /scripts/Makefile.thinlto | |
| parent | 0ae10b6be49b425827659b23bcce498f80eb7182 (diff) | |
| download | linux-18a9a4342136c5ae954b37d961c374d369615de2.tar.gz linux-18a9a4342136c5ae954b37d961c374d369615de2.zip | |
selftests: net: Test UDP length overflow with PMTU discover and big MTU
Two previous commits fixed overflow of UDP length when setsockopt
IP(V6)_MTU_DISCOVER is set to IPV6_PMTUDISC_DO or IP(V6)_PMTUDISC_PROBE,
and a large packet is sent over a netdev with an unusually large MTU.
This commit adds the selftests that replicate the described steps to
reproduce for IPv6 and IPv4, and also one more test that ensures that
sending UDP jumbograms over a raw socket is still possible after the
fix.
Signed-off-by: Alice Mikityanska <alice@isovalent.com>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Link: https://patch.msgid.link/20260901195714.673548-4-alice.kernel@fastmail.im
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
