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
| ||
|
Date: Tue, 22 Nov 2011 15:27:34 -0500 (EST) From: David Miller <davem@...emloft.net> To: adobriyan@...il.com Cc: David.Laight@...LAB.COM, eric.dumazet@...il.com, netdev@...r.kernel.org Subject: Re: [PATCH v2] xfrm: optimize ipv4 selector matching From: Alexey Dobriyan <adobriyan@...il.com> Date: Tue, 22 Nov 2011 19:46:02 +0300 > Current addr_match() is errh, under-optimized. > > Compiler doesn't know that memcmp() branch doesn't trigger for IPv4. > Also, pass addresses by value -- they fit into register. > > Signed-off-by: Alexey Dobriyan <adobriyan@...il.com> Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists