Home
last modified time | relevance | path

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

/linux-6.1.9/net/batman-adv/
Dfragmentation.c142 struct batadv_frag_list_entry *frag_entry_new = NULL, *frag_entry_curr; in batadv_frag_insert_packet() local
160 frag_entry_new = kmalloc(sizeof(*frag_entry_new), GFP_ATOMIC); in batadv_frag_insert_packet()
161 if (!frag_entry_new) in batadv_frag_insert_packet()
164 frag_entry_new->skb = skb; in batadv_frag_insert_packet()
165 frag_entry_new->no = frag_packet->no; in batadv_frag_insert_packet()
174 hlist_add_head(&frag_entry_new->list, &chain->fragment_list); in batadv_frag_insert_packet()
185 if (frag_entry_curr->no == frag_entry_new->no) in batadv_frag_insert_packet()
189 if (frag_entry_curr->no < frag_entry_new->no) { in batadv_frag_insert_packet()
190 hlist_add_before(&frag_entry_new->list, in batadv_frag_insert_packet()
204 hlist_add_behind(&frag_entry_new->list, &frag_entry_last->list); in batadv_frag_insert_packet()
[all …]