diff options
author | Guillaume Nault <gnault@redhat.com> | 2025-01-16 14:39:38 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-01-17 19:01:33 -0800 |
commit | 2ce7289f180d68cfa9a04a28581e88c864abff9c (patch) | |
tree | db7e1d6067555600f897dfc036e0ee3dc78e2f5c /drivers/net/hyperv | |
parent | 02673d58adfa51e5e326d7472f251a63f42fcd93 (diff) |
gtp: Prepare ip4_route_output_gtp() to .flowi4_tos conversion.
Use inet_sk_dscp() to get the socket DSCP value as dscp_t, instead of
ip_sock_rt_tos() which returns a __u8. This will ease the conversion
of fl4->flowi4_tos to dscp_t, which now just becomes a matter of
dropping 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/06bdb310a075355ff059cd32da2efc29a63981c9.1737034675.git.gnault@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/hyperv')
0 files changed, 0 insertions, 0 deletions