From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id E2AF8A3 for ; Fri, 8 Mar 2019 18:48:32 +0100 (CET) Received: from Internal Mail-Server by MTLPINE1 (envelope-from yskoh@mellanox.com) with ESMTPS (AES256-SHA encrypted); 8 Mar 2019 19:48:28 +0200 Received: from scfae-sc-2.mti.labs.mlnx (scfae-sc-2.mti.labs.mlnx [10.101.0.96]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id x28HloAc002625; Fri, 8 Mar 2019 19:48:27 +0200 From: Yongseok Koh To: Ferruh Yigit Cc: dpdk stable Date: Fri, 8 Mar 2019 09:47:00 -0800 Message-Id: <20190308174749.30771-22-yskoh@mellanox.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190308174749.30771-1-yskoh@mellanox.com> References: <20190308174749.30771-1-yskoh@mellanox.com> Subject: [dpdk-stable] patch 'net/tap: fix possible uninitialized variable access' has been queued to LTS release 17.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: , X-List-Received-Date: Fri, 08 Mar 2019 17:48:33 -0000 Hi, FYI, your patch has been queued to LTS release 17.11.6 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objection by 03/13/19. So please shout if anyone has objection. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. If the code is different (ie: not only metadata diffs), due for example to a change in context or macro names, please double check it. Thanks. Yongseok --- >>From 1e42aba6fb7caba4f7ca16a3217ce8324ada6aab Mon Sep 17 00:00:00 2001 From: Ferruh Yigit Date: Mon, 5 Nov 2018 15:31:21 +0000 Subject: [PATCH] net/tap: fix possible uninitialized variable access [ upstream commit 04d3f6bc97066d355291b56ccdb3e9b11e864852 ] Fixes: 7c25284e30c2 ("net/tap: add netlink back-end for flow API") Signed-off-by: Ferruh Yigit --- drivers/net/tap/tap_tcmsgs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/tap/tap_tcmsgs.c b/drivers/net/tap/tap_tcmsgs.c index d74ac805b..838986bc3 100644 --- a/drivers/net/tap/tap_tcmsgs.c +++ b/drivers/net/tap/tap_tcmsgs.c @@ -143,7 +143,7 @@ error: int qdisc_add_multiq(int nlsk_fd, uint16_t ifindex) { - struct tc_multiq_qopt opt; + struct tc_multiq_qopt opt = {0}; struct nlmsg msg; tc_init_msg(&msg, ifindex, RTM_NEWQDISC, -- 2.11.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2019-03-08 09:46:41.435638875 -0800 +++ 0022-net-tap-fix-possible-uninitialized-variable-access.patch 2019-03-08 09:46:40.069404000 -0800 @@ -1,10 +1,11 @@ -From 04d3f6bc97066d355291b56ccdb3e9b11e864852 Mon Sep 17 00:00:00 2001 +From 1e42aba6fb7caba4f7ca16a3217ce8324ada6aab Mon Sep 17 00:00:00 2001 From: Ferruh Yigit Date: Mon, 5 Nov 2018 15:31:21 +0000 Subject: [PATCH] net/tap: fix possible uninitialized variable access +[ upstream commit 04d3f6bc97066d355291b56ccdb3e9b11e864852 ] + Fixes: 7c25284e30c2 ("net/tap: add netlink back-end for flow API") -Cc: stable@dpdk.org Signed-off-by: Ferruh Yigit --- @@ -12,10 +13,10 @@ 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/tap/tap_tcmsgs.c b/drivers/net/tap/tap_tcmsgs.c -index 3c9d03667..b478b5951 100644 +index d74ac805b..838986bc3 100644 --- a/drivers/net/tap/tap_tcmsgs.c +++ b/drivers/net/tap/tap_tcmsgs.c -@@ -116,7 +116,7 @@ error: +@@ -143,7 +143,7 @@ error: int qdisc_add_multiq(int nlsk_fd, uint16_t ifindex) {