From patchwork Fri Sep 11 12:46:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 309793 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E4080C433E2 for ; Fri, 11 Sep 2020 17:24:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A0E0922205 for ; Fri, 11 Sep 2020 17:24:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599845064; bh=keW8HJjuFWu5yYwuMkMQvpVDPRxxGG9zRPXf+rQvDDg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=RprVTW9bX+IxSN+usBeiN4dojRAS9mGwNz3EEssVgyCnw2qN7w8yPrvrgjlQQhZTG PnKyc+EBLKb08dCk1uaT+oIoc/0VyiA0Y0VQKWEFVus/pa4Cppz3Gwlay28hwKABKu JxwGoKs9yIY/vikNsenJ2/GELJQoRxv4Qb1vMPls= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726340AbgIKRYQ (ORCPT ); Fri, 11 Sep 2020 13:24:16 -0400 Received: from mail.kernel.org ([198.145.29.99]:52704 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725908AbgIKNAK (ORCPT ); Fri, 11 Sep 2020 09:00:10 -0400 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (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 DF67822266; Fri, 11 Sep 2020 12:56:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599828971; bh=keW8HJjuFWu5yYwuMkMQvpVDPRxxGG9zRPXf+rQvDDg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qLWQdOQgDZ0n3iJpCn1Dga+E89F0/DShKvfCAKh9eyDDzYHQUIZQJ5fwR6JfZpNnp HDRntt+WFto8fYeKMcuj0sDEITm6T5mag+CZmbXch43PjlAX9wGsuvgwoZCyatvImY X1hvqP5e26NAV3f+BMEjlQdBYSXn8E7tW6FQhnkY= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Pablo Neira Ayuso , Sasha Levin Subject: [PATCH 4.9 16/71] netfilter: nf_tables: incorrect enum nft_list_attributes definition Date: Fri, 11 Sep 2020 14:46:00 +0200 Message-Id: <20200911122505.756220986@linuxfoundation.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200911122504.928931589@linuxfoundation.org> References: <20200911122504.928931589@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Pablo Neira Ayuso [ Upstream commit da9125df854ea48a6240c66e8a67be06e2c12c03 ] This should be NFTA_LIST_UNSPEC instead of NFTA_LIST_UNPEC, all other similar attribute definitions are postfixed with _UNSPEC. Fixes: 96518518cc41 ("netfilter: add nftables") Signed-off-by: Pablo Neira Ayuso Signed-off-by: Sasha Levin --- include/uapi/linux/netfilter/nf_tables.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/uapi/linux/netfilter/nf_tables.h b/include/uapi/linux/netfilter/nf_tables.h index c6c4477c136b9..d121c22bf9284 100644 --- a/include/uapi/linux/netfilter/nf_tables.h +++ b/include/uapi/linux/netfilter/nf_tables.h @@ -114,7 +114,7 @@ enum nf_tables_msg_types { * @NFTA_LIST_ELEM: list element (NLA_NESTED) */ enum nft_list_attributes { - NFTA_LIST_UNPEC, + NFTA_LIST_UNSPEC, NFTA_LIST_ELEM, __NFTA_LIST_MAX };