|
@@ -188,7 +188,7 @@ static bool batadv_frag_insert_packet(struct batadv_orig_node *orig_node,
|
|
|
|
|
|
/* Reached the end of the list, so insert after 'frag_entry_last'. */
|
|
|
if (likely(frag_entry_last)) {
|
|
|
- hlist_add_behind(&frag_entry_last->list, &frag_entry_new->list);
|
|
|
+ hlist_add_behind(&frag_entry_new->list, &frag_entry_last->list);
|
|
|
chain->size += skb->len - hdr_size;
|
|
|
chain->timestamp = jiffies;
|
|
|
ret = true;
|