From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f193.google.com (mail-wr0-f193.google.com [209.85.128.193]) by dpdk.org (Postfix) with ESMTP id 5432B1C0B for ; Mon, 30 Apr 2018 16:06:37 +0200 (CEST) Received: by mail-wr0-f193.google.com with SMTP id o4-v6so8167630wrm.0 for ; Mon, 30 Apr 2018 07:06:37 -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=SAbigdtgqLMc3a0IkypSvxjgaUoq5lmwrzOHaf0VGic=; b=GI0xha+35g/sXvzq1Mrro+OckDLJiZHnWc5xa8+E2uuNC2Sd5nYVvxJKvaqLCqNT0R tsIWthY1JOAEU1wgmnC3mxZWqEj+xaqGwDLLVeqxph8vv7SfFBR/nhxI59QqsabdtMVx r+fOH6A0syChqoijZvLX09tJ6L3i4z2HGMGi7WEKY0qi+uz6qF4tC7qqmDaAmCWPfPCh AuOxyd5kkp81vPLgvyo3L4ZNwo4R4Zv7bpBCewJ5pKYd4no6foXaM+Xt18kjSA5XMrI6 F++Sd6dxraHIB2/mdbicM7WSmDlDToh+9aG51QJxBdQDx60s/iKtCKoQ/UepQ7HRGpi8 TOaQ== 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=SAbigdtgqLMc3a0IkypSvxjgaUoq5lmwrzOHaf0VGic=; b=eetwbgI+gqoUmPouufZC9Rf2c+ZC5biHIwOX/TWY6ZaXGoGOwWTriZkA0Db8wxgtGC sNwqJ3doPgMur9QbAqESt0dSKUnvxs+qyqAPta5nxhCgKPXEqrinPW+taagN5WcgiCxD +rcWy3NG+o4dHXZPk4VyWK9qcdNR3t389leL+v2cb/D+w6oj1lRD2T33rjdD6My2iWPN 9AlrqA+aY+Ii0d87loLhOCjPsGUjWBVfd7s2sIePPjJR1MZk9yFl3XB2Yl7uq8isCUuR mJnAZI/Ns3vawjEgLp8RUx17cr+SKdO++d2nluCKVXTRvM146iTo/wpVVLAGOsZUoli5 /Hyg== X-Gm-Message-State: ALQs6tChf7KDln+a9GtwZNrRcS15zVUr8LhPM2IitqFZR/LMNDquFyHe B9vpKSPXDMCxyA0WIFY6nSlppNjhJvA= X-Google-Smtp-Source: AB8JxZoyPj4oHCRC1U4FuhKeU735Co82+EVJRuWi+OHahvq/OuMALHKwi/+tQ744vuxjXKrYe6KFmw== X-Received: by 2002:adf:e3c1:: with SMTP id k1-v6mr9516689wrm.94.1525097196909; Mon, 30 Apr 2018 07:06:36 -0700 (PDT) Received: from localhost ([2a00:23c5:be9a:5200:ce4c:82c0:d567:ecbb]) by smtp.gmail.com with ESMTPSA id 64sm7398255wmb.2.2018.04.30.07.06.35 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 30 Apr 2018 07:06:36 -0700 (PDT) From: luca.boccassi@gmail.com To: Anatoly Burakov Cc: Jianfeng Tan , dpdk stable Date: Mon, 30 Apr 2018 15:02:45 +0100 Message-Id: <20180430140606.4615-7-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 IPC timeout' 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:37 -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 192524e19b8f114082d4fe9dc044d2afae0756ad Mon Sep 17 00:00:00 2001 From: Anatoly Burakov Date: Fri, 2 Mar 2018 08:41:33 +0000 Subject: [PATCH] eal: fix IPC timeout [ upstream commit 620952e060469ca966333c90cab3ca00281eff7d ] Fixes: 783b6e54971d ("eal: add synchronous multi-process communication") Signed-off-by: Anatoly Burakov Acked-by: Jianfeng Tan --- lib/librte_eal/common/eal_common_proc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_eal/common/eal_common_proc.c b/lib/librte_eal/common/eal_common_proc.c index caa8774ae..e4d81044f 100644 --- a/lib/librte_eal/common/eal_common_proc.c +++ b/lib/librte_eal/common/eal_common_proc.c @@ -583,7 +583,7 @@ mp_request_one(const char *dst, struct rte_mp_msg *req, /* Check if time is out */ if (gettimeofday(&now, NULL) < 0) break; - if (now.tv_sec < ts->tv_sec) + if (ts->tv_sec < now.tv_sec) break; else if (now.tv_sec == ts->tv_sec && now.tv_usec * 1000 < ts->tv_nsec) -- 2.14.2