From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 697211B1BE for ; Wed, 24 Jan 2018 16:42:45 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 1382522723; Wed, 24 Jan 2018 10:42:45 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Wed, 24 Jan 2018 10:42:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fridaylinux.org; h=cc:date:from:in-reply-to:message-id:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=i8QBFNIYJz/CA5J3X e3mbCRkS03XruxfCcXnKF8T7Ks=; b=md5uVcA5f54LDOATTu9y4qPnoBusBmvan y2nWf0gojYblu+L60hO/CmOVjVDWH60u6iTjwssFiLkAdLx9suE9fA8jgXNtY06l Q+bgisF1ftYNACDlf0NvjNCLRYAZcyN2HHz2l3WKao9u24rHm87/rzDfL2i6H3Ui 18u936lMXZHvBJyNXAYGuvRdgrrfkZCJJiES/ayXJUZAK3/8RNs9sGJiLyyNHure ZjK4qhxtOnPcDPqMnJeM9QAwFAWEi6ubLlomKJ3TonjOznjSYRZvGRIQSqlCl2ix vsO4CNN6SuyHsdNpiWcmTwWRColvN6RQDm+S59zzP2BtMbhCiF3Ew== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=i8QBFNIYJz/CA5J3Xe3mbCRkS03XruxfCcXnKF8T7Ks=; b=M1GB3ANh KB7TEb8BK2RmmFHoKhN7wpYcD6SJvmLKpJotMJ0HPhlq/8RxlsW9ZNotH3OTwyv1 ea4v5pHmHfX8fiLjgEdNy1Cek7a/sZPsoakGzLrON2Tl7Bhe8lDy5LeE40DWn0zL QFFL9DFl+J5dITOCnPB0sdR+PHXHfDuYnMehSL5V78ch6F4Y9gCnm/bJy8UKvowY ngqH+HoQDbJulh5At4JK6+PRG8IC7ooxfOtRrc8nAlaXhcDm+/1sdJBVgpYK7duW 4jLDbHN3ALVIZUk5njEOy3gBGvTuAUKHzlFsBfvVomgH69G/WpwES/cmNu0iTPyr PsZnTI+Ag9eZjA== X-ME-Sender: Received: from localhost.localdomain (unknown [115.150.27.206]) by mail.messagingengine.com (Postfix) with ESMTPA id EAF107E3D4; Wed, 24 Jan 2018 10:42:42 -0500 (EST) From: Yuanhan Liu To: Roman Zhukov Cc: Andrew Rybchenko , dpdk stable Date: Wed, 24 Jan 2018 23:33:41 +0800 Message-Id: <1516808026-25523-153-git-send-email-yliu@fridaylinux.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1516808026-25523-1-git-send-email-yliu@fridaylinux.org> References: <1516808026-25523-1-git-send-email-yliu@fridaylinux.org> Subject: [dpdk-stable] patch 'net/sfc: fix flow RSS check in error handling' has been queued to LTS release 17.11.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: Wed, 24 Jan 2018 15:42:45 -0000 Hi, FYI, your patch has been queued to LTS release 17.11.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 01/26/18. So please shout if anyone has objections. Thanks. --yliu --- >>From 2acb57929a470061f519b49f0f2689260e4d211b Mon Sep 17 00:00:00 2001 From: Roman Zhukov Date: Thu, 18 Jan 2018 07:32:56 +0000 Subject: [PATCH] net/sfc: fix flow RSS check in error handling [ upstream commit 66070f08b2ff4f1ac37157e12ef47fca6ea44016 ] RSS is a local variable with address which is never NULL. Fixes: d77d07391d4d ("net/sfc: support flow API RSS action") Signed-off-by: Roman Zhukov Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/sfc_flow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/sfc/sfc_flow.c b/drivers/net/sfc/sfc_flow.c index 944e424..e770b98 100644 --- a/drivers/net/sfc/sfc_flow.c +++ b/drivers/net/sfc/sfc_flow.c @@ -1021,7 +1021,7 @@ fail_scale_tbl_set: fail_filter_insert: fail_scale_key_set: fail_scale_mode_set: - if (rss != NULL) + if (flow->rss) efx_rx_scale_context_free(sa->nic, spec->efs_rss_context); fail_scale_context_alloc: -- 2.7.4