diff options
| author | Alice Mikityanska <alice@isovalent.com> | 2026-07-10 16:42:36 +0300 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2026-07-22 13:47:02 +0200 |
| commit | 47282504ad219d10a30d8b38a68a6697494d2d12 (patch) | |
| tree | 352f5437e141e3a79814a822d1df22f10f46b87e /tools/perf/scripts/python/netdev-times.py | |
| parent | 842870cdfa33b9191b46484a3264bd5126a90570 (diff) | |
udp: Support BIG TCP GSO packets where they can occur
Wherever a GSO packet can occur, and its length is used to fill the UDP
header, use udp_set_len that assigns 0 if the length doesn't fit 16
bits, so that the packet can be properly parsed and segmented later,
instead of having truncated length.
Use udp_get_len in udp_validate_len to treat BIG TCP packets as valid.
Signed-off-by: Alice Mikityanska <alice@isovalent.com>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Link: https://patch.msgid.link/20260710134242.216538-4-alice.kernel@fastmail.im
Reviewed-by: Nikolay Aleksandrov <razor@blackwall.org>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
