Home
last modified time | relevance | path

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

/Linux-v4.19/net/batman-adv/
Dtranslation-table.c482 struct batadv_tt_change_node *tt_change_node, *entry, *safe; in batadv_tt_local_event() local
488 tt_change_node = kmem_cache_alloc(batadv_tt_change_cache, GFP_ATOMIC); in batadv_tt_local_event()
489 if (!tt_change_node) in batadv_tt_local_event()
492 tt_change_node->change.flags = flags; in batadv_tt_local_event()
493 memset(tt_change_node->change.reserved, 0, in batadv_tt_local_event()
494 sizeof(tt_change_node->change.reserved)); in batadv_tt_local_event()
495 ether_addr_copy(tt_change_node->change.addr, common->addr); in batadv_tt_local_event()
496 tt_change_node->change.vid = htons(common->vid); in batadv_tt_local_event()
530 kmem_cache_free(batadv_tt_change_cache, tt_change_node); in batadv_tt_local_event()
536 list_add_tail(&tt_change_node->list, &bat_priv->tt.changes_list); in batadv_tt_local_event()