laforge has submitted this change. ( https://gerrit.osmocom.org/c/libosmocore/+/34099 ) Change subject: osmo_io: Use MSG_NOSIGNAL to avoid SIGPIPE on write ...................................................................... osmo_io: Use MSG_NOSIGNAL to avoid SIGPIPE on write Change-Id: I85433124a8e80fc2aa19b551bdaf2655ef1eea2c --- M src/core/osmo_io.c 1 file changed, 10 insertions(+), 1 deletion(-) Approvals: Jenkins Builder: Verified pespin: Looks good to me, but someone else must approve laforge: Looks good to me, approved diff --git a/src/core/osmo_io.c b/src/core/osmo_io.c index f9d04fd..db1b5ad 100644 --- a/src/core/osmo_io.c +++ b/src/core/osmo_io.c @@ -321,7 +321,7 @@ if (!msghdr) return -ENOMEM; - msghdr->flags = 0; + msghdr->flags = MSG_NOSIGNAL; msghdr->iov[0].iov_base = msgb_data(msghdr->msg); msghdr->iov[0].iov_len = msgb_length(msghdr->msg); msghdr->hdr.msg_iov = &msghdr->iov[0]; -- To view, visit https://gerrit.osmocom.org/c/libosmocore/+/34099 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: libosmocore Gerrit-Branch: master Gerrit-Change-Id: I85433124a8e80fc2aa19b551bdaf2655ef1eea2c Gerrit-Change-Number: 34099 Gerrit-PatchSet: 1 Gerrit-Owner: daniel <dwillmann@sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge@osmocom.org> Gerrit-Reviewer: pespin <pespin@sysmocom.de> Gerrit-MessageType: merged