Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/batman-adv/
Dtranslation-table.c464 struct batadv_tt_change_node *tt_change_node, *entry, *safe; in batadv_tt_local_event() local
470 tt_change_node = kmem_cache_alloc(batadv_tt_change_cache, GFP_ATOMIC); in batadv_tt_local_event()
471 if (!tt_change_node) in batadv_tt_local_event()
474 tt_change_node->change.flags = flags; in batadv_tt_local_event()
475 memset(tt_change_node->change.reserved, 0, in batadv_tt_local_event()
476 sizeof(tt_change_node->change.reserved)); in batadv_tt_local_event()
477 ether_addr_copy(tt_change_node->change.addr, common->addr); in batadv_tt_local_event()
478 tt_change_node->change.vid = htons(common->vid); in batadv_tt_local_event()
512 kmem_cache_free(batadv_tt_change_cache, tt_change_node); in batadv_tt_local_event()
518 list_add_tail(&tt_change_node->list, &bat_priv->tt.changes_list); in batadv_tt_local_event()