From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from youngberry.canonical.com (youngberry.canonical.com [91.189.89.112]) by dpdk.org (Postfix) with ESMTP id D07664CB3 for ; Tue, 14 Aug 2018 13:07:06 +0200 (CEST) Received: from 1.general.paelzer.uk.vpn ([10.172.196.172] helo=lap.fritz.box) by youngberry.canonical.com with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1fpXAI-0000wO-Nh; Tue, 14 Aug 2018 11:07:06 +0000 From: Christian Ehrhardt To: Radu Nicolau Cc: Bernard Iremonger , dpdk stable Date: Tue, 14 Aug 2018 13:06:11 +0200 Message-Id: <20180814110651.25277-8-christian.ehrhardt@canonical.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180814110651.25277-1-christian.ehrhardt@canonical.com> References: <20180814110651.25277-1-christian.ehrhardt@canonical.com> Subject: [dpdk-stable] patch 'test: fix uninitialized port configuration' has been queued to stable release 18.05.1 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: Tue, 14 Aug 2018 11:07:06 -0000 Hi, FYI, your patch has been queued to stable release 18.05.1 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 08/16/18. So please shout if anyone has objections. Thanks. Christian Ehrhardt --- >>From badf723690ee75e0bc90eafcc09353e2815eddfc Mon Sep 17 00:00:00 2001 From: Radu Nicolau Date: Tue, 31 Jul 2018 15:16:21 +0100 Subject: [PATCH] test: fix uninitialized port configuration [ upstream commit f5929159465772a1284e9ea1b87462ef2ab90e94 ] test_pmd_ring_pair_create_attach() uses an uninitialized struct rte_eth_conf object Fixes: 51f567129c94 ("app/test: add pmd_ring") Signed-off-by: Radu Nicolau Acked-by: Bernard Iremonger --- test/test/test_pmd_ring.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/test/test_pmd_ring.c b/test/test/test_pmd_ring.c index 219620125..19d7d20a0 100644 --- a/test/test/test_pmd_ring.c +++ b/test/test/test_pmd_ring.c @@ -218,6 +218,8 @@ test_pmd_ring_pair_create_attach(int portd, int porte) struct rte_mbuf buf, *pbuf = &buf; struct rte_eth_conf null_conf; + memset(&null_conf, 0, sizeof(struct rte_eth_conf)); + if ((rte_eth_dev_configure(portd, 1, 1, &null_conf) < 0) || (rte_eth_dev_configure(porte, 1, 1, &null_conf) < 0)) { printf("Configure failed for port\n"); -- 2.17.1