diff options
author | Patrick McHardy <kaber@trash.net> | 2010-04-09 14:42:15 (GMT) |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2010-04-09 14:42:15 (GMT) |
commit | ed86308f6179d8fa6151c2d0f652aad0091548e2 (patch) | |
tree | 7a85671939266d2f80a03395f4c8af6f15f93948 /net/ieee802154 | |
parent | e9f13cab49f7f28b65a6f63201fca56480b2e059 (diff) | |
download | linux-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