io_uring: imply MSG_NOSIGNAL for send[msg]()/recv[msg]() calls
authorStefan Metzmacher <metze@samba.org>
Tue, 16 Mar 2021 15:33:27 +0000 (16:33 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 7 Apr 2021 13:00:06 +0000 (15:00 +0200)
commit21c2bbc17b6bb6cb221547c1947fbf190e342424
treeb7c3fc08b87b99dcd115c12e52351716f2cb7162
parentfa068ee3f37e0b54504a034c7d9d70cc379a9124
io_uring: imply MSG_NOSIGNAL for send[msg]()/recv[msg]() calls

[ Upstream commit 76cd979f4f38a27df22efb5773a0d567181a9392 ]

We never want to generate any SIGPIPE, -EPIPE only is much better.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Link: https://lore.kernel.org/r/38961085c3ec49fd21550c7788f214d1ff02d2d4.1615908477.git.metze@samba.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/io_uring.c