commit | cb7dbfd0390c9e244339f3270fe8649568241812 | [log] [tgz] |
---|---|---|
author | Patrick McHardy <kaber@trash.net> | Thu Oct 10 23:35:40 2013 +0200 |
committer | Pablo Neira Ayuso <pablo@netfilter.org> | Mon Oct 14 17:16:09 2013 +0200 |
tree | 3e4587f757c08b59e936d4f45d0d2e7c25b3f93e | |
parent | ef1f7df9170dbd875ce198ba84e6ab80f6fc139e [diff] |
netfilter: nf_tables: add optimized data comparison for small values Add an optimized version of nft_data_cmp() that only handles values of to 4 bytes length. This patch includes original Patrick McHardy's patch entitled (nf_tables: inline nft_cmp_fast_eval() into main evaluation loop). Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>