diff options
author | Simon Wunderlich <simon@open-mesh.com> | 2015-08-03 19:13:58 +0200 |
---|---|---|
committer | Antonio Quartulli <antonio@meshcoding.com> | 2015-08-27 20:15:32 +0200 |
commit | bd3524c14bd02f94a4fa33e700883e01182f5ed5 (patch) | |
tree | cfdeb69b5c86ec115a9c28113d107b8a58cd5d2d /net/batman-adv/gateway_client.h | |
parent | batman-adv: move neigh_node list add into batadv_neigh_node_new() (diff) | |
download | linux-bd3524c14bd02f94a4fa33e700883e01182f5ed5.tar.xz linux-bd3524c14bd02f94a4fa33e700883e01182f5ed5.zip |
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>
Diffstat (limited to 'net/batman-adv/gateway_client.h')
-rw-r--r-- | net/batman-adv/gateway_client.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/gateway_client.h b/net/batman-adv/gateway_client.h index ef4d7e336651..fa9527785ed3 100644 --- a/net/batman-adv/gateway_client.h +++ b/net/batman-adv/gateway_client.h @@ -38,7 +38,7 @@ void batadv_gw_node_update(struct batadv_priv *bat_priv, struct batadv_tvlv_gateway_data *gateway); void batadv_gw_node_delete(struct batadv_priv *bat_priv, struct batadv_orig_node *orig_node); -void batadv_gw_node_purge(struct batadv_priv *bat_priv); +void batadv_gw_node_free(struct batadv_priv *bat_priv); int batadv_gw_client_seq_print_text(struct seq_file *seq, void *offset); bool batadv_gw_out_of_range(struct batadv_priv *bat_priv, struct sk_buff *skb); enum batadv_dhcp_recipient |