summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2019-10-11 01:30:37 +0300
committerPablo Neira Ayuso <pablo@netfilter.org>2019-10-17 13:20:48 +0300
commitca58fbe06c54795f00db79e447f94c2028d30124 (patch)
tree264b0d141987a06c82309fc03fe8d02bab4d6663 /tools/perf/scripts/python
parent2ad9d7747c10d17cc06447944fefd4c29ae11eb1 (diff)
downloadlinux-ca58fbe06c54795f00db79e447f94c2028d30124.tar.xz
netfilter: add and use nf_hook_slow_list()
At this time, NF_HOOK_LIST() macro will iterate the list and then calls nf_hook() for each individual skb. This makes it so the entire list is passed into the netfilter core. The advantage is that we only need to fetch the rule blob once per list instead of per-skb. NF_HOOK_LIST now only works for ipv4 and ipv6, as those are the only callers. v2: use skb_list_del_init() instead of list_del (Edward Cree) Signed-off-by: Florian Westphal <fw@strlen.de> Acked-by: Edward Cree <ecree@solarflare.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions