git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c46920d
)
net: some optimizations in af_inet
author
Eric Dumazet
<dada1@cosmosbay.com>
Sun, 23 Nov 2008 23:42:23 +0000
(15:42 -0800)
committer
David S. Miller
<davem@davemloft.net>
Sun, 23 Nov 2008 23:42:23 +0000
(15:42 -0800)
1) Use eq_net() in inet_netns_ok() to speedup socket creation if
!CONFIG_NET_NS
2) Reorder the tests about inet_ehash_secret generation (once only)
Use the unlikely() macro when testing if inet_ehash_secret already
generated.
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
No differences found