diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-08-03 14:35:36 +0300 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-08-03 22:15:11 +0300 |
commit | 445509eb9b00278b31c92f16b05260176a41c27f (patch) | |
tree | 3ff814ef7987f171a8317605557c606e67f67a03 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 94276fa8a2a4c08ccb2e9d55e88b95dc972ccea3 (diff) | |
download | linux-445509eb9b00278b31c92f16b05260176a41c27f.tar.xz |
netfilter: nf_tables: simplify NLM_F_CREATE handling
* From nf_tables_newchain(), codepath provides context that allows us to
infer if we are updating a chain (in that case, no module autoload is
required) or adding a new one (then, module autoload is indeed
needed).
* We only need it in one single spot in nf_tables_newrule().
* Not needed for nf_tables_newset() at all.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions