summaryrefslogtreecommitdiff
path: root/net/ieee802154
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2010-04-09 14:42:15 (GMT)
committerPatrick McHardy <kaber@trash.net>2010-04-09 14:42:15 (GMT)
commited86308f6179d8fa6151c2d0f652aad0091548e2 (patch)
tree7a85671939266d2f80a03395f4c8af6f15f93948 /net/ieee802154
parente9f13cab49f7f28b65a6f63201fca56480b2e059 (diff)
downloadlinux-fsl-qoriq-ed86308f6179d8fa6151c2d0f652aad0091548e2.tar.xz
netfilter: remove invalid rcu_dereference() calls
The CONFIG_PROVE_RCU option discovered a few invalid uses of rcu_dereference() in netfilter. In all these cases, the code code intends to check whether a pointer is already assigned when performing registration or whether the assigned pointer matches when performing unregistration. The entire registration/ unregistration is protected by a mutex, so we don't need the rcu_dereference() calls. Reported-by: Valdis Kletnieks <Valdis.Kletnieks@vt.edu> Tested-by: Valdis Kletnieks <Valdis.Kletnieks@vt.edu> Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'net/ieee802154')
0 files changed, 0 insertions, 0 deletions