diff options
author | Willem de Bruijn <willemb@google.com> | 2025-02-15 01:27:02 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-02-19 05:27:20 +0300 |
commit | e8485911050a60091d1bf51a162f0a2654729fad (patch) | |
tree | 26af08dbe89c1e0ca8df9b7215fab94383b3fce0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 9329b58395e51bba9c847419cc4ba176df3dd2b7 (diff) | |
download | linux-e8485911050a60091d1bf51a162f0a2654729fad.tar.xz |
icmp: reflect tos through ip cookie rather than updating inet_sk
Do not modify socket fields if it can be avoided.
The current code predates the introduction of ip cookies in commit
aa6615814533 ("ipv4: processing ancillary IP_TOS or IP_TTL"). Now that
cookies exist and support tos, update that field directly.
Signed-off-by: Willem de Bruijn <willemb@google.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Link: https://patch.msgid.link/20250214222720.3205500-6-willemdebruijn.kernel@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions