On Donnerstag, 29. September 2016 17:22:58 CEST Sven Eckelmann wrote:
The batadv_hard_iface::neigh_list is accessed via rcu based primitives. Thus all operations done on it have to fulfill the requirements by RCU. So using non-RCU mechanisms like hlist_add_head is not allowed because it misses the barriers required to protect concurrent readers when accessing the data behind the pointer.
Fixes: fed2826b490c ("batman-adv: add list of unique single hop neighbors per hard-interface") Signed-off-by: Sven Eckelmann sven.eckelmann@open-mesh.com Acked-by: Linus Lüssing linus.luessing@c0d3.blue
net/batman-adv/originator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied in 0e384ddb1995ae400766cf33b95537fb115a7800 [1].
Kind regards, Sven
[1] https://git.open-mesh.org/batman-adv.git/commit/0e384ddb1995ae400766cf33b955...