lkml.org 
[lkml]   [2018]   [Mar]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] netfilter: ipset: Use is_zero_ether_addr instead of static and memcmp
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 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

Applied, thanks Joe.

\
 
 \ /
  Last update: 2018-03-30 11:55    [W:0.031 / U:0.252 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site