summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorGuillaume Nault <gnault@redhat.com>2023-06-05 23:55:25 +0200
committerJakub Kicinski <kuba@kernel.org>2023-06-06 21:13:03 -0700
commit4b095281cacab0b62e7f11d6d8c4a6d49ecaae42 (patch)
tree9a244109d54982c399da4b996deae51b3c27c7e2 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parentfe109f6b6378a7d26231474ca0acb7d028cbaa70 (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 <gnault@redhat.com> Reviewed-by: David Ahern <dsahern@kernel.org> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions