]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - net/batman-adv/gateway_client.c
batman-adv: Use rcu_dereference_protected by update-side
authorSven Eckelmann <sven@narfation.org>
Sat, 14 May 2011 22:50:21 +0000 (00:50 +0200)
committerSven Eckelmann <sven@narfation.org>
Mon, 30 May 2011 05:39:34 +0000 (07:39 +0200)
commit728cbc6ac1eef89660875c70a602c1a0ba8df4ff
treefcdf37937b1f01494400a0e8d57490360c64cdc3
parent704509b8d44886cebfbaff1a9813c35dfa986954
batman-adv: Use rcu_dereference_protected by update-side

Usually rcu_dereference isn't necessary in situations were the
RCU-protected data structure cannot change, but sparse and lockdep still
need a similar functionality for analysis. rcu_dereference_protected
implements the reduced version which should be used to support the
dynamic and static analysis.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
net/batman-adv/gateway_client.c
net/batman-adv/hard-interface.c
net/batman-adv/soft-interface.c