diff options
author | Joe Perches <joe@perches.com> | 2018-03-20 20:35:47 +0300 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-03-30 13:20:44 +0300 |
commit | 26c97c5d8dac6bc56d4360561a286f52543ac07e (patch) | |
tree | 97155c0dff13798902d2a5786cac579360377879 /net/netfilter/x_tables.c | |
parent | e3b5e1ec75234fb6b27708a316cdf69f9fb176a8 (diff) | |
download | linux-26c97c5d8dac6bc56d4360561a286f52543ac07e.tar.xz |
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 'net/netfilter/x_tables.c')
0 files changed, 0 insertions, 0 deletions