diff options
author | Guillaume Nault <[email protected]> | 2023-06-05 23:55:30 +0200 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-06-06 21:13:03 -0700 |
commit | 6f8a76f8022121f7e4dc9cc29da7fb716b7db45f (patch) | |
tree | f373b5b6180bd75f2773500c0c01c4ca8561d098 /tools/perf/scripts/python/stackcollapse.py | |
parent | 4b095281cacab0b62e7f11d6d8c4a6d49ecaae42 (diff) |
tcp: Set route scope properly in cookie_v4_check().
RT_CONN_FLAGS(sk) overloads flowi4_tos with the RTO_ONLINK bit when
sk has the SOCK_LOCALROUTE flag set. This allows
ip_route_output_key_hash() to eventually adjust flowi4_scope.
Instead of relying on special handling of the RTO_ONLINK bit, we can
just set the route scope correctly. This will eventually allow to avoid
special interpretation of tos variables and to convert ->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