From mboxrd@z Thu Jan 1 00:00:00 1970 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=unavailable 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 B99CBC433E2 for ; Tue, 8 Sep 2020 18:14:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8134D2078E for ; Tue, 8 Sep 2020 18:14:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599588885; bh=qp8RZsd2aYv6FgQdLh75U8iYJJYma6uoW2beJd6jk+E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=hxY0he8YuWpUuWKBEFlUIkBnX0plkyzcNLHU2CLdvrsR3m62XQk5Z2YZhuLnbzIHK 8yUG0yuA8fgu/ud40AiCreWvaM3+iS2cSCdXchztCkUYFRrh5azIrccmVKINurd8xR e42qOAIbOCCo2IJRX46tYX7VUO/5GWgb8GRNdc/k= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731666AbgIHSOX (ORCPT ); Tue, 8 Sep 2020 14:14:23 -0400 Received: from mail.kernel.org ([198.145.29.99]:56674 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731490AbgIHQLn (ORCPT ); Tue, 8 Sep 2020 12:11:43 -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 A55CB24801; Tue, 8 Sep 2020 15:43:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599579787; bh=qp8RZsd2aYv6FgQdLh75U8iYJJYma6uoW2beJd6jk+E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JFZ0CHEmQHfmjgR9RFfN8GLTh217W6yWDD/9WX3G1lCOb7ATrV5+N8jJNo8jn5NuP t3/pdFLTkZA+Sqydh7Eu74LieZ6jvaig7bAwfZ9CCGHqy5rinBK0xGak2WV49CjGV0 QNFodGfnHo16GD3PkQ474qQMnDcFBD62ohrNqH+8= 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 5.4 033/129] netfilter: nf_tables: incorrect enum nft_list_attributes definition Date: Tue, 8 Sep 2020 17:24:34 +0200 Message-Id: <20200908152231.344748837@linuxfoundation.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200908152229.689878733@linuxfoundation.org> References: <20200908152229.689878733@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 ed8881ad18edd..0a995403172cc 100644 --- a/include/uapi/linux/netfilter/nf_tables.h +++ b/include/uapi/linux/netfilter/nf_tables.h @@ -132,7 +132,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 }; -- 2.25.1