On Fri, Feb 24, 2023 at 4:04 PM David Lamparter <equinox@xxxxxxxxxx> wrote: > > MSG_NOSIGNAL is not applicable for the receiving side, SIGPIPE is > generated when trying to write to a "broken pipe". AF_PACKET's > packet_recvmsg() does enforce this, giving back EINVAL when MSG_NOSIGNAL > is set - making it unuseable in io_uring's recvmsg. > > Remove MSG_NOSIGNAL from io_recvmsg_prep(). > > Signed-off-by: David Lamparter <equinox@xxxxxxxxxx> > Cc: Eric Dumazet <edumazet@xxxxxxxxxx> > Cc: Jens Axboe <axboe@xxxxxxxxx> > --- > > > Sure, or perhaps David wanted to take care of this. > > Here you go. But maybe give me a few hours to test/confirm... > Reviewed-by: Eric Dumazet <edumazet@xxxxxxxxxx> Thanks !