diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2022-06-17 17:49:59 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2022-06-23 19:00:02 +0200 |
commit | 887405df6b654cbd7a480d36db10eb98f9bb19fa (patch) | |
tree | a548e754c644d4b9a11ceb91fd14273dc56ecc9c /tests/shell/testcases/maps | |
parent | 8f61a69e035d04834937fc28a42cf1841d825054 (diff) |
optimize: add unsupported statement
Do not try to merge rules with unsupported statements. This patch adds a
dummy unsupported statement which is included in the statement
collection and the rule vs statement matrix.
When looking for possible rule mergers, rules using unsupported
statements are discarded, otherwise bogus rule mergers might occur.
Note that __stmt_type_eq() already returns false for unsupported
statements.
Add a test using meta mark statement, which is not yet supported.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/shell/testcases/maps')
0 files changed, 0 insertions, 0 deletions