summaryrefslogtreecommitdiff
path: root/net/core/fib_rules.c
diff options
context:
space:
mode:
authorEric Dumazet <dada1@cosmosbay.com>2007-03-27 20:53:04 (GMT)
committerDavid S. Miller <davem@sunset.davemloft.net>2007-04-26 05:28:17 (GMT)
commitbe776281aee54626a474ba06f91926b98bdd180d (patch)
tree7f397daec3c52ca04267186450f290f5e0ea3c5f /net/core/fib_rules.c
parent35fc92a9deee0da6e35fdc3150bb134e58f2fd63 (diff)
downloadlinux-fsl-qoriq-be776281aee54626a474ba06f91926b98bdd180d.tar.xz
[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>
Diffstat (limited to 'net/core/fib_rules.c')
0 files changed, 0 insertions, 0 deletions