Home
last modified time | relevance | path

Searched refs:tt_change_node (Results 1 – 1 of 1) sorted by relevance

/net/batman-adv/
Dtranslation-table.c469 struct batadv_tt_change_node *tt_change_node, *entry, *safe; in batadv_tt_local_event() local
475 tt_change_node = kmem_cache_alloc(batadv_tt_change_cache, GFP_ATOMIC); in batadv_tt_local_event()
476 if (!tt_change_node) in batadv_tt_local_event()
479 tt_change_node->change.flags = flags; in batadv_tt_local_event()
480 memset(tt_change_node->change.reserved, 0, in batadv_tt_local_event()
481 sizeof(tt_change_node->change.reserved)); in batadv_tt_local_event()
482 ether_addr_copy(tt_change_node->change.addr, common->addr); in batadv_tt_local_event()
483 tt_change_node->change.vid = htons(common->vid); in batadv_tt_local_event()
517 kmem_cache_free(batadv_tt_change_cache, tt_change_node); in batadv_tt_local_event()
523 list_add_tail(&tt_change_node->list, &bat_priv->tt.changes_list); in batadv_tt_local_event()