netfilter: nf_tables: allow to filter stateful object dumps by type
authorPablo Neira Ayuso <pablo@netfilter.org>
Sun, 27 Nov 2016 23:06:11 +0000 (00:06 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 7 Dec 2016 12:22:49 +0000 (13:22 +0100)
commita9fea2a3c3cf7a09b7f4302489f535477ead67d2
treeea775c145cd708bc65c5097ae16aa038ece9e632
parent63aea29060025fd2732680aa48a6b97687b93af8
netfilter: nf_tables: allow to filter stateful object dumps by type

This patch adds the netlink code to filter out dump of stateful objects,
through the NFTA_OBJ_TYPE netlink attribute.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_tables_api.c