diff options
author | Phil Sutter <[email protected]> | 2020-10-02 15:50:56 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <[email protected]> | 2020-10-04 21:08:32 +0200 |
commit | 5f48846daf3321f8a1f8aa99cd6173e3980b7a29 (patch) | |
tree | 2c0ef0d3fbf4beaa4374d2857588192575b64a06 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | ab6c41eefd46b92e4f5bcdbbc6c1ea39ed148274 (diff) |
netfilter: nf_tables: Enable fast nft_cmp for inverted matches
Add a boolean indicating NFT_CMP_NEQ. To include it into the match
decision, it is sufficient to XOR it with the data comparison's result.
While being at it, store the mask that is calculated during expression
init and free the eval routine from having to recalculate it each time.
Signed-off-by: Phil Sutter <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions