summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2020-08-20 14:12:55 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-09-09 19:03:08 +0200
commitb2e1d023e026d89e28f637013a9b38c0f3ed4179 (patch)
tree76d5553e4095d2a68e55ff2eb035fc0e66385e29
parentcfb399059d505705779930fc995cfe701b6f3c5b (diff)
downloadlinux-b2e1d023e026d89e28f637013a9b38c0f3ed4179.tar.gz
linux-b2e1d023e026d89e28f637013a9b38c0f3ed4179.tar.bz2
linux-b2e1d023e026d89e28f637013a9b38c0f3ed4179.zip
netfilter: nf_tables: incorrect enum nft_list_attributes definition
[ 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 <pablo@netfilter.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
-rw-r--r--include/uapi/linux/netfilter/nf_tables.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/linux/netfilter/nf_tables.h b/include/uapi/linux/netfilter/nf_tables.h
index a3ee277b17a1..49b6997c3255 100644
--- a/include/uapi/linux/netfilter/nf_tables.h
+++ b/include/uapi/linux/netfilter/nf_tables.h
@@ -125,7 +125,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
};