commit | be776281aee54626a474ba06f91926b98bdd180d | [log] [tgz] |
---|---|---|
author | Eric Dumazet <dada1@cosmosbay.com> | Tue Mar 27 13:53:04 2007 -0700 |
committer | David S. Miller <davem@sunset.davemloft.net> | Wed Apr 25 22:28:17 2007 -0700 |
tree | 7f397daec3c52ca04267186450f290f5e0ea3c5f | |
parent | 35fc92a9deee0da6e35fdc3150bb134e58f2fd63 [diff] |
[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 <dada1@cosmosbay.com> Signed-off-by: David S. Miller <davem@davemloft.net>