diff options
author | Guillaume Nault <[email protected]> | 2024-10-01 21:29:01 +0200 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-10-03 16:21:21 -0700 |
commit | 783946aa0358c8a9e5f88d74dfc047d855813a06 (patch) | |
tree | dfc1380652ab4016766c3307e51f40f60dbf49ed /tools/perf/scripts/python/stackcollapse.py | |
parent | be612f5e99e1d48de34f4befcb700d840c15e05e (diff) |
ipv4: Convert ip_route_input_slow() to dscp_t.
Pass a dscp_t variable to ip_route_input_slow(), instead of a plain u8,
to prevent accidental setting of ECN bits in ->flowi4_tos.
Only ip_route_input_rcu() actually calls ip_route_input_slow(). Since
it already has a dscp_t variable to pass as parameter, we only need to
remove the inet_dscp_to_dsfield() conversion.
Signed-off-by: Guillaume Nault <[email protected]>
Reviewed-by: David Ahern <[email protected]>
Link: https://patch.msgid.link/d6bca5f87eea9e83a3861e6e05594cdd252583c9.1727807926.git.gnault@redhat.com
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions