[NetLabel]: add missing rcu_dereference() calls in the LSM domain mapping hash table
authorPaul Moore <paul.moore@hp.com>
Wed, 8 Aug 2007 00:53:10 +0000 (17:53 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Aug 2007 00:53:10 +0000 (17:53 -0700)
commit3482fd9099e8aab8b8096eb6da93571ea5a0b4c2
tree6ea34d94e11d42738fbac12c0934ed973a990908
parent4a2a4df7b6db25df8f3d5cc6dd0b096119359d92
[NetLabel]: add missing rcu_dereference() calls in the LSM domain mapping hash table
The LSM domain mapping head table pointer was not being referenced via the RCU
safe dereferencing function, rcu_dereference().  This patch adds those missing
calls to the NetLabel code.

This has been tested using recent linux-2.6 git kernels with no visible
regressions.

Signed-off-by: Paul Moore <paul.moore@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netlabel/netlabel_domainhash.c