Re: [PATCH] netfilter: ipset: Use is_zero_ether_addr instead of static and memcmp

2018-03-30 Thread Pablo Neira Ayuso
On Tue, Mar 20, 2018 at 10:35:47AM -0700, Joe Perches wrote: > 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

Re: [PATCH] netfilter: ipset: Use is_zero_ether_addr instead of static and memcmp

2018-03-30 Thread Pablo Neira Ayuso
On Tue, Mar 20, 2018 at 10:35:47AM -0700, Joe Perches wrote: > 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

[PATCH] netfilter: ipset: Use is_zero_ether_addr instead of static and memcmp

2018-03-20 Thread Joe Perches
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* textdata bss dec hex filename 228224619 64 275056b71 ip_set_hash_mac.o.allyesconfig.new 229324683

[PATCH] netfilter: ipset: Use is_zero_ether_addr instead of static and memcmp

2018-03-20 Thread Joe Perches
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* textdata bss dec hex filename 228224619 64 275056b71 ip_set_hash_mac.o.allyesconfig.new 229324683