[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANn89iKY6Gww84HphTWRj2C3TPa6hs29+SA4gfwN5+JTsf--GQ@mail.gmail.com>
Date: Thu, 16 Jan 2025 14:51:05 +0100
From: Eric Dumazet <edumazet@...gle.com>
To: Guillaume Nault <gnault@...hat.com>
Cc: David Miller <davem@...emloft.net>, Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>, netdev@...r.kernel.org, Simon Horman <horms@...nel.org>,
dccp@...r.kernel.org, Ido Schimmel <idosch@...dia.com>
Subject: Re: [PATCH net-next v2] dccp: Prepare dccp_v4_route_skb() to
.flowi4_tos conversion.
On Thu, Jan 16, 2025 at 2:10 PM Guillaume Nault <gnault@...hat.com> wrote:
>
> 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@...hat.com>
> ---
Reviewed-by: Eric Dumazet <edumazet@...gle.com>
Powered by blists - more mailing lists