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 C0975A0093 for ; Tue, 19 May 2020 15:16:33 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B4BDD1D95F; Tue, 19 May 2020 15:16:33 +0200 (CEST) Received: from mail-wr1-f65.google.com (mail-wr1-f65.google.com [209.85.221.65]) by dpdk.org (Postfix) with ESMTP id 899351D96D for ; Tue, 19 May 2020 15:16:32 +0200 (CEST) Received: by mail-wr1-f65.google.com with SMTP id j5so15922410wrq.2 for ; Tue, 19 May 2020 06:16:32 -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=Y6KDhw+GYtSCH5LBk8q8N+UVxRA8JyOG71qH/kJAKSk=; b=XkghWqiHuOEpVFpsJyPaIFcEby35JlMxskmK5pfrv/ZGp2xL/ToNXi6aXJGXLfKuYf RpjTdqGRgg2lAfsgetJf6PSek3fHX2SRSlAD5jVMIYcsJuc5LvE7j5+jWj1mH4EpoEEa ja6i7O1OOQ3GzPnjLcYHKAcT3TKXrMZp+1JcMakBQ2o9PWY7wOfBN+Cvh77urOPAGuVl QaSyUFL9QpIP0MGex+BTqtj9YyDlIBaU9F5WPb2t/Vt6vU/muy63l+DpM1x7vH+geTJu hJJ+n9k6Nn6BrIsfRqHhEOOXvaGWP3+psQrbr8xEWL1nQD82PBMac+93VRU0DdntOLL5 UstQ== 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=Y6KDhw+GYtSCH5LBk8q8N+UVxRA8JyOG71qH/kJAKSk=; b=Sx9VI1cOZQG6yrXerkjLtKVqHQFi5ebc1sg6c/hmBEQHc0SvJVo3VXARMqCqid7Bri 5BBrszy0y88wI91fhqnKUs6YAiNFLPp8bGw1o8844NTXrvTuDK841YSRMH2+f9ZnLs4q QrYeJ3UtxaPgSsCpUdN6RKpsv9TLOA63P/eA+IE9LOBQ4D0JotAu8lqogmYZQmEgeJ5s MCemlak2opYrUippwOhHaD6sJ5NWqcKj6akYhyCs1fgzzYd1eHpFeQ/HbLrknOWbqTvC Bjeh483TnQM09GMkxtZhWaxe/gNnNrEFkUearBYXbCiftyUcek7kTZdOyLAapzf9mtEc J9Lw== X-Gm-Message-State: AOAM530yyKQ6bJ91YDO4Re+P/LrWnK3pxbSrfGv5Pe5eLf6V908ClS/P e0rTuD/2IPJyFPUq+y1K9GkNz/vg4Oexi0Cm X-Google-Smtp-Source: ABdhPJz4E2IGjEqUjiLq+kaawn27xkIZejY8jNgLsf1Maz2yGb+SBWzhYGGIgOmfwTvu9uo52LQFcg== X-Received: by 2002:a5d:6108:: with SMTP id v8mr24870725wrt.286.1589894192256; Tue, 19 May 2020 06:16:32 -0700 (PDT) Received: from localhost ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id p7sm3877447wmc.24.2020.05.19.06.16.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 May 2020 06:16:31 -0700 (PDT) From: luca.boccassi@gmail.com To: Qi Zhang Cc: Xiaolong Ye , dpdk stable Date: Tue, 19 May 2020 14:05:40 +0100 Message-Id: <20200519130549.112823-205-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200519130549.112823-1-luca.boccassi@gmail.com> References: <20200519125804.104349-1-luca.boccassi@gmail.com> <20200519130549.112823-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'net/ice: fix variable initialization' has been queued to stable release 19.11.3 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.3 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/21/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 39abdde91aabcf8605b7e113f451821e1a4db7ba Mon Sep 17 00:00:00 2001 From: Qi Zhang Date: Wed, 6 May 2020 18:43:15 +0800 Subject: [PATCH] net/ice: fix variable initialization [ upstream commit 0beafe7b042f5ea3814471ef6c98aa895d345d4d ] Fix coverity defect due to uninitialized scalar variable. Coverity issue: 357763 Fixes: 47d460d63233 ("net/ice: rework switch filter") Signed-off-by: Qi Zhang Acked-by: Xiaolong Ye --- drivers/net/ice/ice_switch_filter.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ice/ice_switch_filter.c b/drivers/net/ice/ice_switch_filter.c index 202f29dab5..6c24731638 100644 --- a/drivers/net/ice/ice_switch_filter.c +++ b/drivers/net/ice/ice_switch_filter.c @@ -1094,6 +1094,7 @@ ice_switch_parse_pattern_action(struct ice_adapter *ad, return -rte_errno; } + memset(&rule_info, 0, sizeof(rule_info)); rule_info.tun_type = tun_type; sw_meta_ptr = -- 2.20.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2020-05-19 14:04:52.967344369 +0100 +++ 0205-net-ice-fix-variable-initialization.patch 2020-05-19 14:04:44.592655188 +0100 @@ -1,13 +1,14 @@ -From 0beafe7b042f5ea3814471ef6c98aa895d345d4d Mon Sep 17 00:00:00 2001 +From 39abdde91aabcf8605b7e113f451821e1a4db7ba Mon Sep 17 00:00:00 2001 From: Qi Zhang Date: Wed, 6 May 2020 18:43:15 +0800 Subject: [PATCH] net/ice: fix variable initialization +[ upstream commit 0beafe7b042f5ea3814471ef6c98aa895d345d4d ] + Fix coverity defect due to uninitialized scalar variable. Coverity issue: 357763 Fixes: 47d460d63233 ("net/ice: rework switch filter") -Cc: stable@dpdk.org Signed-off-by: Qi Zhang Acked-by: Xiaolong Ye @@ -16,17 +17,17 @@ 1 file changed, 1 insertion(+) diff --git a/drivers/net/ice/ice_switch_filter.c b/drivers/net/ice/ice_switch_filter.c -index 1bea7e807c..dd3f4847aa 100644 +index 202f29dab5..6c24731638 100644 --- a/drivers/net/ice/ice_switch_filter.c +++ b/drivers/net/ice/ice_switch_filter.c -@@ -1503,6 +1503,7 @@ ice_switch_parse_pattern_action(struct ice_adapter *ad, - goto error; +@@ -1094,6 +1094,7 @@ ice_switch_parse_pattern_action(struct ice_adapter *ad, + return -rte_errno; } + memset(&rule_info, 0, sizeof(rule_info)); rule_info.tun_type = tun_type; - ret = ice_switch_check_action(actions, error); + sw_meta_ptr = -- 2.20.1