lkml.org 
[lkml]   [2020]   [Sep]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 4.9 16/71] netfilter: nf_tables: incorrect enum nft_list_attributes definition
    Date
    From: Pablo Neira Ayuso <pablo@netfilter.org>

    [ 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>
    ---
    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
    };
    --
    2.25.1


    \
     
     \ /
      Last update: 2020-09-11 19:25    [W:4.767 / U:0.052 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site