batman-adv: protect softif_neigh by rcu
authorSimon Wunderlich <siwu@hrz.tu-chemnitz.de>
Sun, 17 Apr 2011 18:34:27 +0000 (20:34 +0200)
committerSven Eckelmann <sven@narfation.org>
Sun, 17 Apr 2011 19:11:02 +0000 (21:11 +0200)
commitba85fac28005a59e6e03fdb13918fc6f6e69a3ca
tree4b4def788586b0d99a1ed54c2224135df72adc8a
parentc4aac1ab9b973798163b34939b522f01e4d28ac9
batman-adv: protect softif_neigh by rcu

Add get/set wrapper functions for softif_neigh and
use rcu functions to manipulate the pointers.

Signed-off-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
net/batman-adv/soft-interface.c
net/batman-adv/types.h