diff options
| author | Guillaume Nault <[email protected]> | 2025-01-16 13:10:16 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-01-18 03:01:21 +0000 |
| commit | 02673d58adfa51e5e326d7472f251a63f42fcd93 (patch) | |
| tree | 0f1bd3ac42df50baa107e96d2f511cd15eaec4db /drivers/net/hyperv/hyperv_net.h | |
| parent | selftests: net: give up on the cmsg_time accuracy on slow machines (diff) | |
| download | kernel-02673d58adfa51e5e326d7472f251a63f42fcd93.tar.gz kernel-02673d58adfa51e5e326d7472f251a63f42fcd93.zip | |
dccp: Prepare dccp_v4_route_skb() 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 <[email protected]>
Reviewed-by: Eric Dumazet <[email protected]>
Reviewed-by: Ido Schimmel <[email protected]>
Link: https://patch.msgid.link/208dc5ca28bb5595d7a545de026bba18b1d63bda.1737032802.git.gnault@redhat.com
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/hyperv/hyperv_net.h')
0 files changed, 0 insertions, 0 deletions
