summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2016-12-06 01:35:50 +0300
committerPablo Neira Ayuso <pablo@netfilter.org>2016-12-07 15:31:40 +0300
commit8411b6442e59810fe0750a2f321b9dcb7d0a3d17 (patch)
tree46ec4f0de82337a234b88ff58aedccd3b6486525 /tools/perf/scripts/python/stackcollapse.py
parent37df5301a3ae903c5b1aa90cae37c6c669dfc386 (diff)
downloadlinux-8411b6442e59810fe0750a2f321b9dcb7d0a3d17.tar.xz
netfilter: nf_tables: support for set flushing
This patch adds support for set flushing, that consists of walking over the set elements if the NFTA_SET_ELEM_LIST_ELEMENTS attribute is set. This patch requires the following changes: 1) Add set->ops->deactivate_one() operation: This allows us to deactivate an element from the set element walk path, given we can skip the lookup that happens in ->deactivate(). 2) Add a new nft_trans_alloc_gfp() function since we need to allocate transactions using GFP_ATOMIC given the set walk path happens with held rcu_read_lock. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions