netfilter: nf_tables: allow to filter out rules by table and chain
authorPablo Neira Ayuso <pablo@netfilter.org>
Tue, 19 Jul 2016 10:20:45 +0000 (12:20 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 21 Jul 2016 00:32:35 +0000 (02:32 +0200)
commit6e1f760e13c75eb0c21c75c6eed918e25b54cd07
treef054ecd6b1a2f1b1f8e2e0d8f5a13a7a9207a05d
parentcc37c1ad42ba6bc07c3d7a999f898e11d69a2580
netfilter: nf_tables: allow to filter out rules by table and chain

If the table and/or chain attributes are set in a rule dump request,
we filter out the rules based on this selection.

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