main.c (30d3c5113f9a3f162d65d01b771b122afac0ce79) | main.c (9455e34cb2ded22e01abb6daa65ba1caeed8d7fe) |
---|---|
1/* 2 * Copyright (C) 2007-2012 B.A.T.M.A.N. contributors: 3 * 4 * Marek Lindner, Simon Wunderlich 5 * 6 * This program is free software; you can redistribute it and/or 7 * modify it under the terms of version 2 of the GNU General Public 8 * License as published by the Free Software Foundation. --- 131 unchanged lines hidden (view full) --- 140} 141 142void mesh_free(struct net_device *soft_iface) 143{ 144 struct bat_priv *bat_priv = netdev_priv(soft_iface); 145 146 atomic_set(&bat_priv->mesh_state, MESH_DEACTIVATING); 147 | 1/* 2 * Copyright (C) 2007-2012 B.A.T.M.A.N. contributors: 3 * 4 * Marek Lindner, Simon Wunderlich 5 * 6 * This program is free software; you can redistribute it and/or 7 * modify it under the terms of version 2 of the GNU General Public 8 * License as published by the Free Software Foundation. --- 131 unchanged lines hidden (view full) --- 140} 141 142void mesh_free(struct net_device *soft_iface) 143{ 144 struct bat_priv *bat_priv = netdev_priv(soft_iface); 145 146 atomic_set(&bat_priv->mesh_state, MESH_DEACTIVATING); 147 |
148 purge_outstanding_packets(bat_priv, NULL); | 148 batadv_purge_outstanding_packets(bat_priv, NULL); |
149 150 vis_quit(bat_priv); 151 152 batadv_gw_node_purge(bat_priv); 153 batadv_originator_free(bat_priv); 154 155 tt_free(bat_priv); 156 --- 267 unchanged lines hidden --- | 149 150 vis_quit(bat_priv); 151 152 batadv_gw_node_purge(bat_priv); 153 batadv_originator_free(bat_priv); 154 155 tt_free(bat_priv); 156 --- 267 unchanged lines hidden --- |