]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2ec5cf81cf99b222abcf0c561e4bfa3a06866929
treeea775c145cd708bc65c5097ae16aa038ece9e632
parent7cf2bd61114d8ba07470977c52368c65ce06e82d
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