netfilter: nf_tables: add select_ops for stateful objects
authorPablo M. Bermudo Garay <pablombg@gmail.com>
Wed, 23 Aug 2017 20:41:23 +0000 (22:41 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 4 Sep 2017 11:25:09 +0000 (13:25 +0200)
commitdfc46034b54af3abf594de75a1ee43ef2ec2a60a
treea954972e93cfd5c72167cf823c815e870e818c94
parentbea74641e3786d51dcf1175527cc1781420961c9
netfilter: nf_tables: add select_ops for stateful objects

This patch adds support for overloading stateful objects operations
through the select_ops() callback, just as it is implemented for
expressions.

This change is needed for upcoming additions to the stateful objects
infrastructure.

Signed-off-by: Pablo M. Bermudo Garay <pablombg@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nf_tables.h
net/netfilter/nf_tables_api.c
net/netfilter/nft_counter.c
net/netfilter/nft_ct.c
net/netfilter/nft_objref.c
net/netfilter/nft_quota.c