diff options
author | 2018-03-20 10:35:47 -0700 | |
---|---|---|
committer | 2018-03-30 12:20:44 +0200 | |
commit | 26c97c5d8dac6bc56d4360561a286f52543ac07e (patch) | |
tree | 97155c0dff13798902d2a5786cac579360377879 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Revert "netfilter: x_tables: ensure last rule in base chain matches underflow/policy" (diff) | |
download | linux-dev-26c97c5d8dac6bc56d4360561a286f52543ac07e.tar.xz linux-dev-26c97c5d8dac6bc56d4360561a286f52543ac07e.zip |
netfilter: ipset: Use is_zero_ether_addr instead of static and memcmp
To make the test a bit clearer and to reduce object size a little.
Miscellanea:
o remove now unnecessary static const array
$ size ip_set_hash_mac.o*
text data bss dec hex filename
22822 4619 64 27505 6b71 ip_set_hash_mac.o.allyesconfig.new
22932 4683 64 27679 6c1f ip_set_hash_mac.o.allyesconfig.old
10443 1040 0 11483 2cdb ip_set_hash_mac.o.defconfig.new
10507 1040 0 11547 2d1b ip_set_hash_mac.o.defconfig.old
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions