summaryrefslogtreecommitdiff
path: root/lib/timerqueue.c
diff options
context:
space:
mode:
authorGuillaume Nault <gnault@redhat.com>2024-10-30 15:43:11 +0300
committerJakub Kicinski <kuba@kernel.org>2024-11-04 01:28:37 +0300
commit0c30d6eedd1ec0c1382bcab9576d26413cd278a3 (patch)
tree5a5df895391221a29ecb3d3363de4fe8e88858bf /lib/timerqueue.c
parent8a6631f1cece09047fa44608d21d520ca65ce7d8 (diff)
downloadlinux-0c30d6eedd1ec0c1382bcab9576d26413cd278a3.tar.xz
ipvlan: Prepare ipvlan_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: Ido Schimmel <idosch@nvidia.com> Link: https://patch.msgid.link/f48335504a05b3587e0081a9b4511e0761571ca5.1730292157.git.gnault@redhat.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions