]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbe6921a51b9684a03cddc74232d8e04bb9ec01a9
treefcdf37937b1f01494400a0e8d57490360c64cdc3
parent5e2ed3c744cea17a5c26667e48f1eee73ef8323a
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