]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
netfilter: nf_tables: add NFT_LOGLEVEL_* enumeration and use it
authorPablo Neira Ayuso <pablo@netfilter.org>
Sun, 3 Jun 2018 10:06:57 +0000 (12:06 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Jun 2018 20:14:00 +0000 (16:14 -0400)
commit7eced5ab5a7366ee7ca5360b3eca9d220c2b2887
tree9ef59ad2d7eaf8c25cd2b4e85eeadddcb0c67485
parent3036bc45364f98515a2c446d7fac2c34dcfbeff4
netfilter: nf_tables: add NFT_LOGLEVEL_* enumeration and use it

This is internal, not exposed through uapi, and although it maps with
userspace LOG_*, with the introduction of LOGLEVEL_AUDIT we are
incurring in namespace pollution.

This patch adds the NFT_LOGLEVEL_ enumeration and use it from nft_log.

Fixes: 1a893b44de45 ("netfilter: nf_tables: Add audit support to log statement")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Acked-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/netfilter/nf_tables.h
net/netfilter/nft_log.c