lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Mon, 27 Mar 2017 12:36:30 +0200
From:   Steffen Klassert <steffen.klassert@...unet.com>
To:     Alexey Dobriyan <adobriyan@...il.com>
CC:     <herbert@...dor.apana.org.au>, <davem@...emloft.net>,
        <netdev@...r.kernel.org>
Subject: Re: [PATCH] xfrm: use "unsigned int" in addr_match()

On Fri, Mar 24, 2017 at 02:07:50AM +0300, Alexey Dobriyan wrote:
> x86_64 is zero-extending arch so "unsigned int" is preferred over "int"
> for address calculations and extending to size_t.
> 
> Space savings:
> 
> 	add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-24 (-24)
> 	function                                     old     new   delta
> 	xfrm_state_walk                              708     696     -12
> 	xfrm_selector_match                          918     906     -12
> 
> Signed-off-by: Alexey Dobriyan <adobriyan@...il.com>

Applied to ipsec-next, thanks!

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ