From: Jens Axboe <axboe@kernel.dk>
To: Adnan Dizdarevic <adnan.dizdarevic@eks-intec.de>,
"willemdebruijn.kernel@gmail.com"
<willemdebruijn.kernel@gmail.com>
Cc: "asml.silence@gmail.com" <asml.silence@gmail.com>,
"davem@davemloft.net" <davem@davemloft.net>,
"edumazet@google.com" <edumazet@google.com>,
"kuba@kernel.org" <kuba@kernel.org>,
"pabeni@redhat.com" <pabeni@redhat.com>,
"netdev@vger.kernel.org" <netdev@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] net/packet: Allow MSG_NOSIGNAL flag in packet_recvmsg
Date: Wed, 8 Mar 2023 08:35:55 -0700 [thread overview]
Message-ID: <43574499-f016-c62d-6d3e-868139ff66c2@kernel.dk> (raw)
In-Reply-To: <BE1P281MB18589C91B10886A86B26EB6BA3B49@BE1P281MB1858.DEUP281.PROD.OUTLOOK.COM>
On 3/8/23 8:18 AM, Adnan Dizdarevic wrote:
> By adding MSG_NOSIGNAL flag to allowed flags in packet_recvmsg, this
> patch fixes io_uring recvmsg operations returning -EINVAL when used with
> packet socket file descriptors.
>
> In io_uring, MSG_NOSIGNAL flag is added in:
> io_uring/net.c/io_recvmsg_prep
FWIW, this did get fixed in io_uring, it's in 6.3-rc1 and is making
its way into the stable releases too:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7605c43d67face310b4b87dee1a28bc0c8cd8c0f
--
Jens Axboe
next prev parent reply other threads:[~2023-03-08 15:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-08 15:18 [PATCH] net/packet: Allow MSG_NOSIGNAL flag in packet_recvmsg Adnan Dizdarevic
2023-03-08 15:35 ` Jens Axboe [this message]
2023-03-08 15:38 ` Willem de Bruijn
2023-03-09 6:38 ` Adnan Dizdarevic
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=43574499-f016-c62d-6d3e-868139ff66c2@kernel.dk \
--to=axboe@kernel.dk \
--cc=adnan.dizdarevic@eks-intec.de \
--cc=asml.silence@gmail.com \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=willemdebruijn.kernel@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