batman-adv: protect softif_neigh by rcu
[firefly-linux-kernel-4.4.55.git] / net / batman-adv / types.h
index 091476df4f0efd231aca6b2ebb28a9d3bfe9fc92..75123b1ae0de3b87632ecc8d7db2bd0aed1ff12a 100644 (file)
@@ -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;