From: Steffen Klassert <steffen.klassert@secunet.com>
To: Ren Wei <n05ec@lzu.edu.cn>
Cc: <netdev@vger.kernel.org>, <herbert@gondor.apana.org.au>,
<davem@davemloft.net>, <edumazet@google.com>, <kuba@kernel.org>,
<pabeni@redhat.com>, <horms@kernel.org>, <0x7f454c46@gmail.com>,
<yuantan098@gmail.com>, <yifanwucs@gmail.com>,
<tomapufckgml@gmail.com>, <bird@lzu.edu.cn>,
<ruijieli51@gmail.com>
Subject: Re: [PATCH net 1/1] xfrm: provide message size for XFRM_MSG_MAPPING
Date: Thu, 30 Apr 2026 09:56:23 +0200 [thread overview]
Message-ID: <afMLJ8a26grtdzWw@secunet.com> (raw)
In-Reply-To: <93a1ffe802d9c5d741ab95dce75eb3e9368be97d.1777354203.git.ruijieli51@gmail.com>
On Wed, Apr 29, 2026 at 12:41:43AM +0800, Ren Wei wrote:
> From: Ruijie Li <ruijieli51@gmail.com>
>
> The compat 64=>32 translation path handles XFRM_MSG_MAPPING, but
> xfrm_msg_min[] does not provide the native payload size for this
> message type.
>
> Add the missing XFRM_MSG_MAPPING entry so compat translation can size
> and translate mapping notifications correctly.
>
> Fixes: 5461fc0c8d9f ("xfrm/compat: Add 64=>32-bit messages translator")
> Cc: stable@kernel.org
> Reported-by: Yuan Tan <yuantan098@gmail.com>
> Reported-by: Yifan Wu <yifanwucs@gmail.com>
> Reported-by: Juefei Pu <tomapufckgml@gmail.com>
> Reported-by: Xin Liu <bird@lzu.edu.cn>
> Signed-off-by: Ruijie Li <ruijieli51@gmail.com>
> Signed-off-by: Ren Wei <n05ec@lzu.edu.cn>
Applied, thanks a lot!
prev parent reply other threads:[~2026-04-30 7:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <cover.1777354203.git.ruijieli51@gmail.com>
2026-04-28 16:41 ` [PATCH net 1/1] xfrm: provide message size for XFRM_MSG_MAPPING Ren Wei
2026-04-30 7:56 ` 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=afMLJ8a26grtdzWw@secunet.com \
--to=steffen.klassert@secunet.com \
--cc=0x7f454c46@gmail.com \
--cc=bird@lzu.edu.cn \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=herbert@gondor.apana.org.au \
--cc=horms@kernel.org \
--cc=kuba@kernel.org \
--cc=n05ec@lzu.edu.cn \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=ruijieli51@gmail.com \
--cc=tomapufckgml@gmail.com \
--cc=yifanwucs@gmail.com \
--cc=yuantan098@gmail.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