summaryrefslogtreecommitdiff
path: root/net/batman-adv/main.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2015-08-28 20:43:33 (GMT)
committerDavid S. Miller <davem@davemloft.net>2015-08-28 20:43:33 (GMT)
commit8b72ca67fed39816b732b0cf53a1c7f2efc6400d (patch)
tree0fba964637c2a4aa7faa7dd986401098c7ff0bf0 /net/batman-adv/main.c
parent9723e6abc70a472c726d5d5ac6402a2d1bb10882 (diff)
parented29266347025a19ee689807b07d121f0a7441f1 (diff)
downloadlinux-8b72ca67fed39816b732b0cf53a1c7f2efc6400d.tar.xz
Merge tag 'batman-adv-for-davem' of git://git.open-mesh.org/linux-merge
Antonio Quartulli says: ==================== Included changes: - code beautification - remove obsolete 'deleted' attribute for bat-gw node - increase internal version number - prevent potential access to netdev object after deregistration - set needed_head/tail_room for batman virtual interface ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/batman-adv/main.c')
-rw-r--r--net/batman-adv/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/main.c b/net/batman-adv/main.c
index e61c5f3..d7f17c1 100644
--- a/net/batman-adv/main.c
+++ b/net/batman-adv/main.c
@@ -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);