Files
linux/net/ipv4
Guillaume Nault 85ef52e869 ipv4: Prepare ip_rt_get_source() 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/0a13a200f31809841975e38633914af1061e0c04.1729530028.git.gnault@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-10-29 11:21:06 -07:00
..
2024-05-01 18:37:07 -07:00
2024-09-11 20:44:31 -07:00
2024-09-09 17:21:47 -07:00
2024-07-30 18:35:12 -07:00
2024-01-04 10:23:10 -08:00
2024-10-15 18:52:26 -07:00
2024-06-06 11:52:52 +02:00
2024-09-11 20:44:32 -07:00
2022-12-20 03:13:45 +01:00
2023-09-14 16:16:36 +02:00