Home
last modified time | relevance | path

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

/Linux-v4.19/net/batman-adv/
Dfragmentation.c155 struct batadv_frag_list_entry *frag_entry_new = NULL, *frag_entry_curr; in batadv_frag_insert_packet() local
173 frag_entry_new = kmalloc(sizeof(*frag_entry_new), GFP_ATOMIC); in batadv_frag_insert_packet()
174 if (!frag_entry_new) in batadv_frag_insert_packet()
177 frag_entry_new->skb = skb; in batadv_frag_insert_packet()
178 frag_entry_new->no = frag_packet->no; in batadv_frag_insert_packet()
187 hlist_add_head(&frag_entry_new->list, &chain->fragment_list); in batadv_frag_insert_packet()
198 if (frag_entry_curr->no == frag_entry_new->no) in batadv_frag_insert_packet()
202 if (frag_entry_curr->no < frag_entry_new->no) { in batadv_frag_insert_packet()
203 hlist_add_before(&frag_entry_new->list, in batadv_frag_insert_packet()
217 hlist_add_behind(&frag_entry_new->list, &frag_entry_last->list); in batadv_frag_insert_packet()
[all …]