diff options
author | 2016-10-27 19:49:42 +0100 | |
---|---|---|
committer | 2016-11-01 20:50:30 +0100 | |
commit | 1fddf4bad0ac9f4d32c74af286fc1eec2a03c82c (patch) | |
tree | cbd3dd9abce08ccc0895235e52d3c0e9beb32797 /net/netfilter/Kconfig | |
parent | netfilter: nf_tables: add fib expression (diff) | |
download | linux-1fddf4bad0ac9f4d32c74af286fc1eec2a03c82c.tar.gz linux-1fddf4bad0ac9f4d32c74af286fc1eec2a03c82c.tar.bz2 linux-1fddf4bad0ac9f4d32c74af286fc1eec2a03c82c.zip |
netfilter: nf_log: add packet logging for netdev family
Move layer 2 packet logging into nf_log_l2packet() that resides in
nf_log_common.c, so this can be shared by both bridge and netdev
families.
This patch adds the boiler plate code to register the netdev logging
family.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/Kconfig')
-rw-r--r-- | net/netfilter/Kconfig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/netfilter/Kconfig b/net/netfilter/Kconfig index 9bcf899ce16e..854dadb196a1 100644 --- a/net/netfilter/Kconfig +++ b/net/netfilter/Kconfig @@ -57,6 +57,10 @@ config NF_CONNTRACK config NF_LOG_COMMON tristate +config NF_LOG_NETDEV + tristate "Netdev packet logging" + select NF_LOG_COMMON + if NF_CONNTRACK config NF_CONNTRACK_MARK |