commit | 7e8cd208e9c28ce79d6725592327440c4f76b3de | [log] [tgz] |
---|---|---|
author | David Lamparter <[email protected]> | Mon Mar 06 13:23:06 2023 -0700 |
committer | Greg Kroah-Hartman <[email protected]> | Fri Mar 10 09:40:04 2023 +0100 |
tree | 01a8f8fe494d80a14bebc57ea7b9be3c11c60d17 | |
parent | dde0d0dfbde23974d7449c04ef2fb8814d09deef [diff] |
io_uring: remove MSG_NOSIGNAL from recvmsg commit 7605c43d67face310b4b87dee1a28bc0c8cd8c0f upstream. 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: [email protected] # v5.10+ Signed-off-by: David Lamparter <[email protected]> Cc: Eric Dumazet <[email protected]> Cc: Jens Axboe <[email protected]> Reviewed-by: Eric Dumazet <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>