diff options
| author | Guillaume Nault <gnault@redhat.com> | 2024-10-30 13:43:11 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-03-07 18:25:30 +0100 |
| commit | 5138154bdbfcfb5c4c2105e3421cae26d4596823 (patch) | |
| tree | ed53830fa0c2cc54bb798b56e5c4ddeca737bc43 /scripts/git.orderFile | |
| parent | 97c455c3c2430e1db0295025173404a8d554c6c3 (diff) | |
| download | linux-5138154bdbfcfb5c4c2105e3421cae26d4596823.tar.gz linux-5138154bdbfcfb5c4c2105e3421cae26d4596823.tar.bz2 linux-5138154bdbfcfb5c4c2105e3421cae26d4596823.zip | |
ipvlan: Prepare ipvlan_process_v4_outbound() to future .flowi4_tos conversion.
[ Upstream commit 0c30d6eedd1ec0c1382bcab9576d26413cd278a3 ]
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>
Stable-dep-of: 27843ce6ba3d ("ipvlan: ensure network headers are in skb linear part")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/git.orderFile')
0 files changed, 0 insertions, 0 deletions
