From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id AAAB7A04DD for ; Wed, 28 Oct 2020 11:52:11 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A14E9C9DA; Wed, 28 Oct 2020 11:52:10 +0100 (CET) Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) by dpdk.org (Postfix) with ESMTP id 905F5C9DA for ; Wed, 28 Oct 2020 11:52:08 +0100 (CET) Received: by mail-wm1-f52.google.com with SMTP id v5so4110228wmh.1 for ; Wed, 28 Oct 2020 03:52:08 -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 :mime-version:content-transfer-encoding; bh=aSPXCFBk0MugHaVJxiKzfNCxRMFH42c549jHqsKkitg=; b=hpbXzvj6/3855EoW7mnffsuY1IdqdnVVnPDq3mepbkttitDOa9joVnznnL/92x9ZBZ qGOvvzSEgQ9KVScScfWDd46aCsj8p26PtDFde+J3oneffHCpfYb/CkXo41GUY1vuxkyN leAHyOx9UKjy7QhyueW8m8cwNPF3Wg1zfWtQ8Jpmzxpdp2NkiTNy+I0uuOWzh77cIzbg eec1ea027Zr4q+9oZFKyKQcXkyaDAnRKtnSCi3FFobg+xAqSV1kdx+A09d3Yj83u/+tR lu28xI/eZbGTBOo2Jx2tApkDXgSdIcvTH2a2Ipzi9MVEda9MmyQZvKJyxb8Vozvmnvzu X3JA== 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:mime-version:content-transfer-encoding; bh=aSPXCFBk0MugHaVJxiKzfNCxRMFH42c549jHqsKkitg=; b=DVtbHO7qrE90B6usRq4EaMcioFXqZAsomvgwNQ3Is/+8f8yA/NiwRBMo2VYSNQRHho lIbp/hN0AAMmdWu3O5HQr22D0mwIVeVSN2iaJKJNPbqgreSFvb2KR7jTjecppKT4Pxx7 3BBd7f6f0jRVVxfREn2ee7euUzCvxV1WWH5Kp3/HoiaGIZVEVeUPEZGXKt3zU/BscKU1 lCdiEsJ2ZG2RZjRRzXLucr5R1nbp5fecli06hO7USItUy05MRTiN5lu5eXHDtrJI0Moy 3Bw/EnD8si+H8xeKl4xf4cnkwW3lLgr8TIHtnZhJTi+6A8atCecbp9qZ2qW4K/gvwR54 9bqw== X-Gm-Message-State: AOAM530d9YEj+rSVx3A2GfDavgao9AW9MT3eG5xs8JW8IXTkEpIyl0Xx IBHs2TtQ1IdWTrHSPZZLsglMIh21BArtFsDy X-Google-Smtp-Source: ABdhPJywIuOgoeLfIigijRmldjHzGAKpSYlZB6PIBk2E4MOY0vyRwoaHm1kSbQAIQOODH+4T8V6fYg== X-Received: by 2002:a1c:2e0d:: with SMTP id u13mr7383825wmu.179.1603882327316; Wed, 28 Oct 2020 03:52:07 -0700 (PDT) Received: from localhost ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id o3sm6459609wru.15.2020.10.28.03.52.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Oct 2020 03:52:06 -0700 (PDT) From: luca.boccassi@gmail.com To: Fan Zhang Cc: dpdk stable Date: Wed, 28 Oct 2020 10:44:31 +0000 Message-Id: <20201028104606.3504127-112-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201028104606.3504127-1-luca.boccassi@gmail.com> References: <20201028104606.3504127-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'port: remove useless assignment' has been queued to stable release 19.11.6 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: , Errors-To: stable-bounces@dpdk.org Sender: "stable" Hi, FYI, your patch has been queued to stable release 19.11.6 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 10/30/20. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Thanks. Luca Boccassi --- >From 73c73f77b768d1f02cfb5c932b538ed1bee52bc0 Mon Sep 17 00:00:00 2001 From: Fan Zhang Date: Fri, 18 Sep 2020 09:23:10 +0100 Subject: [PATCH] port: remove useless assignment [ upstream commit 9ef2627cf64d4316224ca2de983fc32db9ed23c4 ] This patch fixes an unused value in pcap source port by removing the setting to the value. Coverity issue: 362020 Fixes: d4b42133d85b ("port: add pcap file source") Signed-off-by: Fan Zhang --- lib/librte_port/rte_port_source_sink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_port/rte_port_source_sink.c b/lib/librte_port/rte_port_source_sink.c index 74b7385a28..68575c9833 100644 --- a/lib/librte_port/rte_port_source_sink.c +++ b/lib/librte_port/rte_port_source_sink.c @@ -116,7 +116,7 @@ pcap_source_load(struct rte_port_source *port, } for (i = 0; i < n_pkts; i++) { - pkt = pcap_next(pcap_handle, &pcap_hdr); + pcap_next(pcap_handle, &pcap_hdr); port->pkt_len[i] = RTE_MIN(max_len, pcap_hdr.len); pkt_len_aligns[i] = RTE_CACHE_LINE_ROUNDUP( port->pkt_len[i]); -- 2.20.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2020-10-28 10:35:15.239045555 +0000 +++ 0112-port-remove-useless-assignment.patch 2020-10-28 10:35:11.664832379 +0000 @@ -1,14 +1,15 @@ -From 9ef2627cf64d4316224ca2de983fc32db9ed23c4 Mon Sep 17 00:00:00 2001 +From 73c73f77b768d1f02cfb5c932b538ed1bee52bc0 Mon Sep 17 00:00:00 2001 From: Fan Zhang Date: Fri, 18 Sep 2020 09:23:10 +0100 Subject: [PATCH] port: remove useless assignment +[ upstream commit 9ef2627cf64d4316224ca2de983fc32db9ed23c4 ] + This patch fixes an unused value in pcap source port by removing the setting to the value. Coverity issue: 362020 Fixes: d4b42133d85b ("port: add pcap file source") -Cc: stable@dpdk.org Signed-off-by: Fan Zhang ---