summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorEric Dumazet <dada1@cosmosbay.com>2008-11-24 00:42:23 +0100
committerDavid S. Miller <davem@davemloft.net>2008-11-24 00:42:23 +0100
commit04f258ce7f085dd69422fa01d41c8f0194a0e270 (patch)
tree948bf0a108717265df6228bcac2126ec423cb988 /usr
parentMerge branch 'for-david' of git://git.kernel.org/pub/scm/linux/kernel/git/chr... (diff)
downloadlinux-04f258ce7f085dd69422fa01d41c8f0194a0e270.tar.xz
linux-04f258ce7f085dd69422fa01d41c8f0194a0e270.zip
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 <dada1@cosmosbay.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions