From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f195.google.com (mail-wr0-f195.google.com [209.85.128.195]) by dpdk.org (Postfix) with ESMTP id 3AFED1DB9 for ; Mon, 30 Apr 2018 16:06:42 +0200 (CEST) Received: by mail-wr0-f195.google.com with SMTP id p5-v6so8157177wre.12 for ; Mon, 30 Apr 2018 07:06:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=EpZRWacVv3tk313ttb6fwIZ49nLFobPn02PhLGb3x3Q=; b=bOqrUAzzMmMhFiTP6JdSKxcjqtcKZ9IR6Llh3eieZpfq0UVDENnlWi86AcM5aoNPpF eJq7rPjTHu23lK2zZrTWV8uiJ/kWw3an76p+FQ2vkCImt+jYN5uovw2nWCz/8QAn7k8j wVNC21YNYwOl6zHmMX5xgn3IISxJquGqMm9rYJ4tN4XaqfAvK+/2MCkZ1VvZkVKYa3Pn Db61B83dt6aGqcO5PQVCbCqQ6I8sMV6KvzN/UxrEDSKdV8WNcseZ4u4JZgDcMGDxNSTI 0TNOw+eF5EzciGyLeUyY2d+FzIRPLXVpqhGfjs+RIH7HwpLUfH2ylLjF8oAqRagmOTwu 7g9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=EpZRWacVv3tk313ttb6fwIZ49nLFobPn02PhLGb3x3Q=; b=UFRNmbDBCgZE433mA4BARXx3rMJZgBZA2hz4JH0q2Ao8Vl/XP+6/+6tOjeeznLQrtU kML0J4hKVazCp6lmKVZYT9ZE0skcX8l1XVU0r6Ljp+LuJO9IXyf8y0Dxb0qGMh5hpwFe VOnX8cFEqvcZfgD1RePxPuF9b3+4qYZNNY1O6+fGBChJK971xwQbJrHifdUfPZ8KEQEI F93I2EWXiS0T7dBdUem2tlylO/zfb7spT2rn/LuR1I82BkEXMt2/YWtnxKjdU/SnP6hV u3i70ecbW8Z6rMH0YGfuvSp4jvgzg3nBIiHuJGEkvC4DQdTIoItLWpQlBA/wR2ZB91C5 TR0A== X-Gm-Message-State: ALQs6tDVLvDFKz/5CpzMzNjPQUZAlkUbK+Nj2lCSeM5sRd7M/0I7+8fR mUh4o1J+uXeb+46wzWIiVwhpBQjdzzs= X-Google-Smtp-Source: AB8JxZrt3h/XYQOKeiyzXbpji1ug2z/Mtmx1Fj6HkIax3Li6NhESM4tNY0I/qG+ol26c/WD3DMkm6A== X-Received: by 2002:adf:b065:: with SMTP id g34-v6mr9031929wra.25.1525097201964; Mon, 30 Apr 2018 07:06:41 -0700 (PDT) Received: from localhost ([2a00:23c5:be9a:5200:ce4c:82c0:d567:ecbb]) by smtp.gmail.com with ESMTPSA id y45-v6sm8959508wrd.97.2018.04.30.07.06.40 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 30 Apr 2018 07:06:41 -0700 (PDT) From: luca.boccassi@gmail.com To: Anatoly Burakov Cc: Jianfeng Tan , dpdk stable Date: Mon, 30 Apr 2018 15:02:48 +0100 Message-Id: <20180430140606.4615-10-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20180430140606.4615-1-luca.boccassi@gmail.com> References: <20180430140606.4615-1-luca.boccassi@gmail.com> Subject: [dpdk-stable] patch 'eal: fix errno handling in IPC' has been queued to stable release 18.02.2 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2018 14:06:42 -0000 Hi, FYI, your patch has been queued to stable release 18.02.2 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 05/02/18. So please shout if anyone has objections. Thanks. Luca Boccassi --- >>From d14b927061d97467f50a6a3396a691b42ba69bbd Mon Sep 17 00:00:00 2001 From: Anatoly Burakov Date: Fri, 2 Mar 2018 08:41:36 +0000 Subject: [PATCH] eal: fix errno handling in IPC [ upstream commit 139653a09a485bf550e00964ce2c81a2991a7530 ] Fixes: bacaa2754017 ("eal: add channel for multi-process communication") Signed-off-by: Anatoly Burakov Acked-by: Jianfeng Tan --- lib/librte_eal/common/eal_common_proc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/librte_eal/common/eal_common_proc.c b/lib/librte_eal/common/eal_common_proc.c index 2dddcaf78..3a1088e2f 100644 --- a/lib/librte_eal/common/eal_common_proc.c +++ b/lib/librte_eal/common/eal_common_proc.c @@ -444,13 +444,13 @@ send_msg(const char *dst_path, struct rte_mp_msg *msg, int type) if (snd < 0) { rte_errno = errno; /* Check if it caused by peer process exits */ - if (errno == -ECONNREFUSED) { + if (errno == ECONNREFUSED) { /* We don't unlink the primary's socket here */ if (rte_eal_process_type() == RTE_PROC_PRIMARY) unlink_socket_by_path(dst_path); return 0; } - if (errno == -ENOBUFS) { + if (errno == ENOBUFS) { RTE_LOG(ERR, EAL, "Peer cannot receive message %s\n", dst_path); return 0; -- 2.14.2