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

From: Willem de Bruijn
Date: Wed Mar 08 2023 - 10:39:23 EST


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/