diff options
author | Guillaume Nault <[email protected]> | 2023-06-05 23:55:25 +0200 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-06-06 21:13:03 -0700 |
commit | 4b095281cacab0b62e7f11d6d8c4a6d49ecaae42 (patch) | |
tree | 9a244109d54982c399da4b996deae51b3c27c7e2 /tools/perf/scripts/python/stackcollapse.py | |
parent | fe109f6b6378a7d26231474ca0acb7d028cbaa70 (diff) |
ipv4: Set correct scope in inet_csk_route_*().
RT_CONN_FLAGS(sk) overloads the tos parameter with the RTO_ONLINK bit
when sk has the SOCK_LOCALROUTE flag set. This is only useful for
ip_route_output_key_hash() to eventually adjust the route scope.
Let's drop RTO_ONLINK and set the correct scope directly to avoid this
special case in the future and to allow converting ->flowi4_tos to
dscp_t.
Signed-off-by: Guillaume Nault <[email protected]>
Reviewed-by: David Ahern <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions