]> 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)
commit08a5235133a30488c51a7f3c2e1ee542c77d1740
tree3656b8fff320c7e570d31f9663c6e9e088f0c30b
parentb1944968db1bf67c8a4d36951d27b98e53aa57e4
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