summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/nft-f/0013defines_1
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2021-11-29 15:36:45 +0100
committerPhil Sutter <phil@nwl.cc>2021-12-03 12:50:18 +0100
commit95781fcbddcd6524f67a3357c0cf91f13be24053 (patch)
tree97550ae5eb5a7bdbba27a77bd3a8252f54ce6a51 /tests/shell/testcases/nft-f/0013defines_1
parenta37212f2fd90739e17f3dbb96ea6284d7755bf5f (diff)
cache: Filter rule list on kernel side
Instead of fetching all existing rules in kernel's ruleset and filtering in user space, add payload to the dump request specifying the table and chain to filter for. Since list_rule_cb() no longer needs the filter, pass only netlink_ctx to the callback and drop struct rule_cache_dump_ctx. Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'tests/shell/testcases/nft-f/0013defines_1')
0 files changed, 0 insertions, 0 deletions