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]
Message-Id: <20120803.165303.1568897713381115598.davem@davemloft.net>
Date:	Fri, 03 Aug 2012 16:53:03 -0700 (PDT)
From:	David Miller <davem@...emloft.net>
To:	eric.dumazet@...il.com
Cc:	sakiwit@...il.com, netdev@...r.kernel.org
Subject: Re: [PATCH] ipv4: remove parentheses in return statement

From: Eric Dumazet <eric.dumazet@...il.com>
Date: Fri, 03 Aug 2012 11:53:58 +0200

> We already have such thing in fact : net_hash_mix() which returns 0 if
> NS are not configured.
> 
> (hash_ptr(net,8) is really overkill on 64bit arches)
> 
> High order bits on "struct net *" have absolutely no entropy, unless you
> have a monster machine (more than 256 GB of ram)
> 
> This is the patch I prepared :

Looks good to me.
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ