netfilter: nf_tables: Expose the table usage counter via netlink
authorTomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
Thu, 12 Dec 2013 13:00:42 +0000 (15:00 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 17 Dec 2013 13:28:05 +0000 (14:28 +0100)
commitd8bcc768c80e73cf4e948cb327949174b4b5b9e7
tree18be32c57d81b76d31933c7cd60142ebdb21c0c2
parent0aff078d58e1c69139189e45ba5e929c030e8056
netfilter: nf_tables: Expose the table usage counter via netlink

Userspace can therefore know whether a table is in use or not, and
by how many chains. Suggested by Pablo Neira Ayuso.

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