diff options
| author | Florian Westphal <fw@strlen.de> | 2018-07-11 13:45:13 +0200 |
|---|---|---|
| committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-07-18 11:26:47 +0200 |
| commit | 2a43ecf96ba6a6eed70dbcd99d0888fc0ad3b82b (patch) | |
| tree | c11616a1dfa43ce19cb49d881e5f27e61de2e429 /tools/perf/scripts/python | |
| parent | netfilter: nf_tables: take module reference when starting a batch (diff) | |
| download | linux-2a43ecf96ba6a6eed70dbcd99d0888fc0ad3b82b.tar.gz linux-2a43ecf96ba6a6eed70dbcd99d0888fc0ad3b82b.zip | |
netfilter: nf_tables: avoid global info storage
This works because all accesses are currently serialized by nfnl
nf_tables subsys mutex.
If we want to have per-netns locking, we need to make this scratch
area pernetns or allocate it on demand.
This does the latter, its ~28kbyte but we can fallback to vmalloc
so it should be fine.
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
