batman-adv: remove obsolete deleted attribute for gateway node
With rcu, the gateway node deleted attribute is not needed anymore. In fact, it may delay the free of the gateway node and its referenced structures. Therefore remove it altogether and simplify purging as well. Signed-off-by: Simon Wunderlich <simon@open-mesh.com> Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch> Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
This commit is contained in:
committed by
Antonio Quartulli
parent
741aa06bfb
commit
bd3524c14b
@@ -199,7 +199,7 @@ void batadv_mesh_free(struct net_device *soft_iface)
|
||||
|
||||
batadv_purge_outstanding_packets(bat_priv, NULL);
|
||||
|
||||
batadv_gw_node_purge(bat_priv);
|
||||
batadv_gw_node_free(bat_priv);
|
||||
batadv_nc_mesh_free(bat_priv);
|
||||
batadv_dat_free(bat_priv);
|
||||
batadv_bla_free(bat_priv);
|
||||
|
||||
Reference in New Issue
Block a user