diff options
author | Simon Wunderlich <siwu@hrz.tu-chemnitz.de> | 2011-04-17 20:34:27 +0200 |
---|---|---|
committer | Sven Eckelmann <sven@narfation.org> | 2011-04-17 21:11:02 +0200 |
commit | ba85fac28005a59e6e03fdb13918fc6f6e69a3ca (patch) | |
tree | 4b4def788586b0d99a1ed54c2224135df72adc8a /net/batman-adv/types.h | |
parent | c4aac1ab9b973798163b34939b522f01e4d28ac9 (diff) | |
download | linux-ba85fac28005a59e6e03fdb13918fc6f6e69a3ca.tar.bz2 |
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>
Diffstat (limited to 'net/batman-adv/types.h')
-rw-r--r-- | net/batman-adv/types.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/types.h b/net/batman-adv/types.h index 091476df4f0e..75123b1ae0de 100644 --- a/net/batman-adv/types.h +++ b/net/batman-adv/types.h @@ -147,7 +147,7 @@ struct bat_priv { atomic_t batman_queue_left; char num_ifaces; struct hlist_head softif_neigh_list; - struct softif_neigh *softif_neigh; + struct softif_neigh __rcu *softif_neigh; struct debug_log *debug_log; struct hard_iface *primary_if; struct kobject *mesh_obj; |