summaryrefslogtreecommitdiffstats
path: root/net/netfilter/xt_LED.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2010-04-09 16:42:15 +0200
committerPatrick McHardy <kaber@trash.net>2010-04-09 16:42:15 +0200
commited86308f6179d8fa6151c2d0f652aad0091548e2 (patch)
tree7a85671939266d2f80a03395f4c8af6f15f93948 /net/netfilter/xt_LED.c
parente9f13cab49f7f28b65a6f63201fca56480b2e059 (diff)
downloadlinux-stable-ed86308f6179d8fa6151c2d0f652aad0091548e2.tar.gz
linux-stable-ed86308f6179d8fa6151c2d0f652aad0091548e2.tar.bz2
linux-stable-ed86308f6179d8fa6151c2d0f652aad0091548e2.zip
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/netfilter/xt_LED.c')
0 files changed, 0 insertions, 0 deletions