RE: [PATCH] net/packet: Allow MSG_NOSIGNAL flag in packet_recvmsg

From: Adnan Dizdarevic
Date: Thu Mar 09 2023 - 01:38:26 EST


Thanks for the update. I didn't notice it got fixed in the meantime.

-----Original Message-----
From: Willem de Bruijn <willemdebruijn.kernel@xxxxxxxxx>
Sent: 08 March 2023 16:38
To: Adnan Dizdarevic <adnan.dizdarevic@xxxxxxxxxxxx>; willemdebruijn.kernel@xxxxxxxxx
Cc: axboe@xxxxxxxxx; asml.silence@xxxxxxxxx; davem@xxxxxxxxxxxxx; edumazet@xxxxxxxxxx; kuba@xxxxxxxxxx; pabeni@xxxxxxxxxx; netdev@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx
Subject: RE: [PATCH] net/packet: Allow MSG_NOSIGNAL flag in packet_recvmsg

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
>
> Signed-off-by: Adnan Dizdarevic <adnan.dizdarevic@xxxxxxxxxxxx>

This was discussed two weeks ago and io_uring adapted to no longer require this change.

https://lore.kernel.org/netdev/Y%2Fja3Wi0tIyzXces@xxxxxxxxxxxxxx/T/