From: Eric Dumazet Date: Sun, 23 Nov 2008 23:42:23 +0000 (-0800) Subject: net: some optimizations in af_inet X-Git-Tag: v2.6.29-rc1~581^2~539 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04f258ce7f085dd69422fa01d41c8f0194a0e270;p=pandora-kernel.git net: some optimizations in af_inet 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed