From: Eric Dumazet Date: Tue, 27 Mar 2007 20:53:04 +0000 (-0700) Subject: [NET]: inet_ehash_secret should be __read_mostly and set only once X-Git-Tag: v2.6.22-rc1~1128^2~154 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be776281aee54626a474ba06f91926b98bdd180d;p=pandora-kernel.git [NET]: inet_ehash_secret should be __read_mostly and set only once There is a very tiny probability that build_ehash_secret() is called at the same time by different CPUS. Also, using __read_mostly is a must for inet_ehash_secret Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed