From: Steffen Klassert <steffen.klassert@secunet.com>
To: "Baek Kyu, Kim" <pocj8ur4in@gmail.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>,
"David S. Miller" <davem@davemloft.net>, <netdev@vger.kernel.org>
Subject: Re: [PATCH net] xfrm: espintcp: read the socket error queue for MSG_ERRQUEUE
Date: Mon, 23 Nov 2026 12:20:25 +0100 [thread overview]
Message-ID: <awQhec8RGS9nkoW1@gauss4> (raw)
In-Reply-To: <179449975985.164761.7508657205685376308.c279-espintcp@gmail.com>
On Fri, Nov 13, 2026 at 01:09:19AM +0900, Baek Kyu, Kim wrote:
> An ESP-in-TCP socket can have a TX timestamp queued and report POLLERR,
> but recvmsg(MSG_ERRQUEUE) returns EAGAIN because espintcp_recvmsg()
> reads the IKE queue instead. If an IKE message is pending, the same call
> consumes that message as though it were an error-queue result.
>
> Handle MSG_ERRQUEUE through inet_recv_error() before reading the IKE
> queue. This exposes queued error metadata and leaves IKE messages for
> normal receive calls.
>
> Fixes: e27cca96cd68 ("xfrm: add espintcp (RFC 8229)")
> Signed-off-by: Baek Kyu, Kim <pocj8ur4in@gmail.com>
Applied to the ipsec tree, thanks a lot!
prev parent reply other threads:[~2026-11-23 11:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-12 16:09 [PATCH net] xfrm: espintcp: read the socket error queue for MSG_ERRQUEUE Baek Kyu, Kim
2026-11-23 11:20 ` 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=awQhec8RGS9nkoW1@gauss4 \
--to=steffen.klassert@secunet.com \
--cc=davem@davemloft.net \
--cc=herbert@gondor.apana.org.au \
--cc=netdev@vger.kernel.org \
--cc=pocj8ur4in@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.