diff options
author | Guillaume Nault <gnault@redhat.com> | 2024-10-01 21:28:37 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-10-03 16:21:21 -0700 |
commit | 913c83a610bb7dd8e5952a2b4663e1feec0b5de6 (patch) | |
tree | 75087d916824b86cd52a52db96cb8367caaa5ae3 /arch/arm | |
parent | 9b8ca04854fd1253a58aeb1bd089c191cb5a074c (diff) |
ipv4: Convert icmp_route_lookup() to dscp_t.
Pass a dscp_t variable to icmp_route_lookup(), instead of a plain u8,
to prevent accidental setting of ECN bits in ->flowi4_tos. Rename that
variable ("tos" -> "dscp") to make the intent clear.
While there, reorganise the function parameters to fill up horizontal
space.
Signed-off-by: Guillaume Nault <gnault@redhat.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Link: https://patch.msgid.link/294fead85c6035bcdc5fcf9a6bb4ce8798c45ba1.1727807926.git.gnault@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'arch/arm')
0 files changed, 0 insertions, 0 deletions