diff options
| author | Guillaume Nault <gnault@redhat.com> | 2024-10-07 21:24:48 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2024-10-10 03:31:40 +0300 |
| commit | 1a7c292617e4c6dcacf0590909ad9a231df6e25e (patch) | |
| tree | d9f46b0eeaa4bd41ae91f5144f6b42bfc97c94e9 /tools/perf/scripts/python/task-analyzer.py | |
| parent | 0936c671911f46fcc0cc0c8ad2925eade7f64e80 (diff) | |
| download | linux-1a7c292617e4c6dcacf0590909ad9a231df6e25e.tar.xz | |
ipv4: Convert ip_route_input_mc() to dscp_t.
Pass a dscp_t variable to ip_route_input_mc(), 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_mc(). 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 <gnault@redhat.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Tested-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Link: https://patch.msgid.link/0cc653ef59bbc0a28881f706d34896c61eba9e01.1728302212.git.gnault@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
