]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit86f3d3a7ecd0903a9e706827ecb53843894547e0
tree3656b8fff320c7e570d31f9663c6e9e088f0c30b
parentde308664ec446ff37e0709da3fe576775b875d39
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