Skip to content
Commit 728cbc6a authored by Sven Eckelmann's avatar Sven Eckelmann
Browse files

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: default avatarSven Eckelmann <sven@narfation.org>
parent 704509b8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment