Received: by 10.192.165.148 with SMTP id m20csp826746imm; Fri, 27 Apr 2018 08:07:43 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqaOlvSEyzAbzz1QkqMYjSUW2FYFzRgFF+dbIHCDi7gAT3H3Pl3Cytha3O0sQ/k/TsiAxlM X-Received: by 2002:a17:902:380c:: with SMTP id l12-v6mr2658397plc.19.1524841663690; Fri, 27 Apr 2018 08:07:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524841663; cv=none; d=google.com; s=arc-20160816; b=jpPJ86lGZ1Vs8rQqtv8xLV0UqfmDuyheHylreLH+5MUp3IvXiccgzWkV5fqj5Qydbl 6Yuni/Yh5xqIV0bUumQz9Cjgm16KvvUKBC4gVnD7oR8VlZpBDnpz7ngEPGHszw/BWsag 5sv1rDbREfP3lRb388C6rjz4+KP3KMpQfejel6thazVNpWjOcVnGQpnOTkbD0el5xsGu 8+xv0II9qsaHJXdV+BuwjPkX534bsoae1YWmohuf7rpVVUJITpI40cPT1424e2O/GXbr UjDmCBVgIrj2B+k1vdURVMI37Y4HOGPy2F+wwtRPA73iDQcFxKSKPDxigFb283zigk4s 2nmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from:dmarc-filter :arc-authentication-results; bh=NAp3HKAtprDxdFqZdKoRA+dYFIWT+4ZO28cfNIjw5DA=; b=cuvq5MGbtcgq+yH8tkG2gQGXSEQHnlGX87+SGcjNckbcqvabGfYd0fUmLONUSL9EO7 aYlGZRRynqVGb0e0tZ52ZCmd+6XZBNs6AqE9taGDU3wKQjD71l1etQCN+SPUJzPNxjrv 5/2nyh3nV9812xjHGsrBBszm8fMm2NCQ54efr422CgfP2o0whBengbJIuQEc72T+ktti QCkA6RTshrz9M/ZbmT0U0A33dZtRXq4migvyTTsGW36k+JjatUeCzSxzCYZUIzxLi/sB 3N/TAmYBm9yFqrUINCaYV6nkiPMzxDl3ih/VwUkdj8KG2/Lfhx5Ld2y5YPqvKZcEYOxV 4ekw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d14si1364524pfl.122.2018.04.27.08.07.29; Fri, 27 Apr 2018 08:07:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933843AbeD0OFC (ORCPT + 99 others); Fri, 27 Apr 2018 10:05:02 -0400 Received: from mail.kernel.org ([198.145.29.99]:51306 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933826AbeD0OFA (ORCPT ); Fri, 27 Apr 2018 10:05:00 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 0511C21892; Fri, 27 Apr 2018 14:04:58 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0511C21892 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linuxfoundation.org Authentication-Results: mail.kernel.org; spf=fail smtp.mailfrom=gregkh@linuxfoundation.org From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Alexander Aring , Yotam Gigi , Jamal Hadi Salim , "David S. Miller" Subject: [PATCH 4.9 60/74] net: sched: ife: signal not finding metaid Date: Fri, 27 Apr 2018 15:58:50 +0200 Message-Id: <20180427135712.430630779@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180427135709.899303463@linuxfoundation.org> References: <20180427135709.899303463@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.9-stable review patch. If anyone has any objections, please let me know. ------------------ From: Alexander Aring [ Upstream commit f6cd14537ff9919081be19b9c53b9b19c0d3ea97 ] We need to record stats for received metadata that we dont know how to process. Have find_decode_metaid() return -ENOENT to capture this. Signed-off-by: Alexander Aring Reviewed-by: Yotam Gigi Acked-by: Jamal Hadi Salim Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- net/sched/act_ife.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/net/sched/act_ife.c +++ b/net/sched/act_ife.c @@ -634,7 +634,7 @@ int find_decode_metaid(struct sk_buff *s } } - return 0; + return -ENOENT; } struct ifeheadr {