summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2021-05-31 01:08:11 +0300
committerPablo Neira Ayuso <pablo@netfilter.org>2021-06-07 13:23:36 +0300
commit670866512f971d6fdb9ef2dad19db97d400d1161 (patch)
tree710c7d14c36c9846468f5e46ed225bac60d4487a /tools/perf/scripts/python/export-to-postgresql.py
parente2b750d78b55d783f6ff4a1ab1e96f01e3e2ccfb (diff)
downloadlinux-670866512f971d6fdb9ef2dad19db97d400d1161.tar.xz
netfilter: nf_tables: remove nft_ctx_init_from_setattr()
Replace nft_ctx_init_from_setattr() by nft_table_lookup(). This patch also disentangles nf_tables_delset() where NFTA_SET_TABLE is required while nft_ctx_init_from_setattr() allows it to be optional. From the nf_tables_delset() path, this also allows to set up the context structure when it is needed. Removing this helper function saves us 14 LoC, so it is not helping to consolidate code. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions