Staging: batman-adv: use rcu callbacks when freeing batman_if
[firefly-linux-kernel-4.4.55.git] / drivers / staging / batman-adv / types.h
index d89ec70a67a8121f8d00720fb6b745cf544bf261..8f6ba1c5692761348a5dfd8339e84432c2054c9c 100644 (file)
@@ -46,6 +46,7 @@ struct batman_if {
        struct kref refcount;
        struct packet_type batman_adv_ptype;
        struct net_device *soft_iface;
+       struct rcu_head rcu;
 };
 
 /**