Thread (8 messages) 8 messages, 3 authors, 2012-08-03

Re: [PATCH] ipv4: remove parentheses in return statement

flat view

From: David Miller <davem@davemloft.net>
Date: 2012-08-03 23:53:03

From: Eric Dumazet <redacted>
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help