diff options
author | Guillaume Nault <gnault@redhat.com> | 2024-10-30 16:27:19 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-11-04 01:29:05 +0300 |
commit | 937677f481259b5291001ef7c68242d366e23b64 (patch) | |
tree | c5bc056ec17c7ed25302414768959978034f3734 /lib/debugobjects.c | |
parent | 0c30d6eedd1ec0c1382bcab9576d26413cd278a3 (diff) | |
download | linux-937677f481259b5291001ef7c68242d366e23b64.tar.xz |
vrf: Prepare vrf_process_v4_outbound() to future .flowi4_tos conversion.
Use ip4h_dscp() to get the DSCP from the IPv4 header, then convert the
dscp_t value to __u8 with inet_dscp_to_dsfield().
Then, when we'll convert .flowi4_tos to dscp_t, we'll just have to drop
the inet_dscp_to_dsfield() call.
Signed-off-by: Guillaume Nault <gnault@redhat.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Link: https://patch.msgid.link/6be084229008dcfa7a4e2758befccfd2217a331e.1730294788.git.gnault@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions