diff options
author | David Lamparter <equinox@diac24.net> | 2023-02-24 16:01:24 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-02-24 12:59:02 -0700 |
commit | 7605c43d67face310b4b87dee1a28bc0c8cd8c0f (patch) | |
tree | 0f4d1c815247cf617bb97e0780d75e6604136a1d /io_uring/poll.h | |
parent | 977bc87356107fb946fb4ff24f1e4c241b5043ec (diff) | |
download | linux-7605c43d67face310b4b87dee1a28bc0c8cd8c0f.tar.gz linux-7605c43d67face310b4b87dee1a28bc0c8cd8c0f.tar.bz2 linux-7605c43d67face310b4b87dee1a28bc0c8cd8c0f.zip |
io_uring: remove MSG_NOSIGNAL from recvmsg
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().
Cc: stable@vger.kernel.org # v5.10+
Signed-off-by: David Lamparter <equinox@diac24.net>
Cc: Eric Dumazet <edumazet@google.com>
Cc: Jens Axboe <axboe@kernel.dk>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Link: https://lore.kernel.org/r/20230224150123.128346-1-equinox@diac24.net
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/poll.h')
0 files changed, 0 insertions, 0 deletions