From: Steffen Klassert <steffen.klassert@secunet.com>
To: Guillaume Nault <gnault@redhat.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
<netdev@vger.kernel.org>, Simon Horman <horms@kernel.org>,
David Ahern <dsahern@kernel.org>,
"Ido Schimmel" <idosch@nvidia.com>,
Eyal Birger <eyal.birger@gmail.com>
Subject: Re: [PATCH ipsec-next v2 0/4] xfrm: Convert __xfrm4_dst_lookup() and its callers to dscp_t.
Date: Tue, 12 Nov 2024 09:00:28 +0100 [thread overview]
Message-ID: <ZzMLHKLEKelIf3f8@gauss3.secunet.de> (raw)
In-Reply-To: <cover.1730387416.git.gnault@redhat.com>
On Thu, Oct 31, 2024 at 04:52:27PM +0100, Guillaume Nault wrote:
> This patch series continues to prepare users of ->flowi4_tos to a
> future conversion of this field (__u8 to dscp_t). This time, we convert
> __xfrm4_dst_lookup() and its call chain.
>
> The objective is to eventually make all users of ->flowi4_tos use a
> dscp_t value. Making ->flowi4_tos a dscp_t field will help avoiding
> regressions where ECN bits are erroneously interpreted as DSCP bits.
>
> Changes since v1:
> * Rebase on top of ipsec-next. Now we don't convert the ->dst_lookup()
> callback handlers since they they don't have any "tos" parameter
> anymore. Therefore, the original patches 4, 5 and 6 are dropped and
> replaced with the new patch 4, which just converts the "tos" field
> in struct xfrm_dst_lookup_params.
>
> Guillaume Nault (4):
> xfrm: Convert xfrm_get_tos() to dscp_t.
> xfrm: Convert xfrm_bundle_create() to dscp_t.
> xfrm: Convert xfrm_dst_lookup() to dscp_t.
> xfrm: Convert struct xfrm_dst_lookup_params -> tos to dscp_t.
>
> include/net/xfrm.h | 3 ++-
> net/ipv4/xfrm4_policy.c | 3 ++-
> net/xfrm/xfrm_policy.c | 16 ++++++++--------
> 3 files changed, 12 insertions(+), 10 deletions(-)
Series applied to ipsec-next, thanks a lot!
prev parent reply other threads:[~2024-11-12 8:00 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-31 15:52 [PATCH ipsec-next v2 0/4] xfrm: Convert __xfrm4_dst_lookup() and its callers to dscp_t Guillaume Nault
2024-10-31 15:52 ` [PATCH ipsec-next v2 1/4] xfrm: Convert xfrm_get_tos() " Guillaume Nault
2024-11-03 14:23 ` Ido Schimmel
2024-10-31 15:52 ` [PATCH ipsec-next v2 2/4] xfrm: Convert xfrm_bundle_create() " Guillaume Nault
2024-11-03 14:24 ` Ido Schimmel
2024-10-31 15:52 ` [PATCH ipsec-next v2 3/4] xfrm: Convert xfrm_dst_lookup() " Guillaume Nault
2024-11-03 14:25 ` Ido Schimmel
2024-10-31 15:52 ` [PATCH ipsec-next v2 4/4] xfrm: Convert struct xfrm_dst_lookup_params -> tos " Guillaume Nault
2024-11-03 14:27 ` Ido Schimmel
2024-11-12 8:00 ` Steffen Klassert [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZzMLHKLEKelIf3f8@gauss3.secunet.de \
--to=steffen.klassert@secunet.com \
--cc=davem@davemloft.net \
--cc=dsahern@kernel.org \
--cc=edumazet@google.com \
--cc=eyal.birger@gmail.com \
--cc=gnault@redhat.com \
--cc=herbert@gondor.apana.org.au \
--cc=horms@kernel.org \
--cc=idosch@nvidia.com \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).