netfilter: nf_tables: allow to bind table to net_device
authorPablo Neira Ayuso <pablo@netfilter.org>
Tue, 26 May 2015 16:41:20 +0000 (18:41 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 26 May 2015 16:41:17 +0000 (18:41 +0200)
commitebddf1a8d78aa3436353fae75c4396e50cb2d6cf
tree3656b8fff320c7e570d31f9663c6e9e088f0c30b
parent529985de202276d0d3455d16d284d72efc357d98
netfilter: nf_tables: allow to bind table to net_device

This patch adds the internal NFT_AF_NEEDS_DEV flag to indicate that you must
attach this table to a net_device.

This change is required by the follow up patch that introduces the new netdev
table.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nf_tables.h
include/uapi/linux/netfilter/nf_tables.h
net/netfilter/nf_tables_api.c