Project

General

Profile

Bug #217 ยป 0001-batman-adv-protect-tt_local_entry-from-concurrent-de.patch

Marek Lindner, 06/17/2015 02:09 PM

View differences:

translation-table.c
* immediately purge it
*/
batadv_tt_local_event(bat_priv, tt_local_entry, BATADV_TT_CLIENT_DEL);
hlist_del_rcu(&tt_local_entry->common.hash_entry);
batadv_hash_remove(bat_priv->tt.local_hash, batadv_compare_tt,
batadv_choose_tt, &tt_local_entry->common);
batadv_tt_local_entry_free_ref(tt_local_entry);
/* decrease the reference held for this vlan */
    (1-1/1)